Combinatorica Package >

ToOrderedPairs

ToOrderedPairs[g]
constructs a list of ordered pairs representing the edges of the graph .
  • If is undirected each edge is interpreted as two ordered pairs.
  • An option called that takes on values or All can be used to affect the constructed representation.
  • forces the removal of multiple edges and self-loops. All keeps all information and is the default option.
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF