Combinatorica`
Combinatorica`

SetEdgeLabels

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. >>

SetEdgeLabels[g,l]

assigns the labels in l to edges of g.

Details

  • SetEdgeLabels functionality is now available in the built-in Wolfram Language function EdgeLabels.
  • To use SetEdgeLabels, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
  • If l is shorter than the number of edges in g, then labels get assigned cyclically.
  • If l is longer than the number of edges in g, then the extra labels are ignored.

See Also

EdgeLabels  GraphOptions  SetGraphOptions

Tutorials