is an option that allows the user to associate weights with vertices.


  • To use , you first need to load the Combinatorica Package using Needs["Combinatorica`"].
  • 0 is the default weight.
  • can be set as part of the graph data structure.
New to Mathematica? Find your learning path »
Have a question? Ask support »