This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

FromOrderedPairs

FromOrderedPairs[l]
constructs an edge list representation from a list of ordered pairs l, using a circular embedding.
FromOrderedPairs[l, v]
uses v as the embedding for the resulting graph. The option Type that takes on values Undirected or Directed can be used to affect the kind of graph produced. The default value of Type is Directed. Type->Undirected results in the underlying undirected graph.