PRODUCTS
Mathematica
Mathematica for Students
Mathematica for the Classroom
grid
Mathematica
web
Mathematica
Mathematica Player
(free download)
Mathematica Player Pro
Wolfram
Workbench
Mathematica
Applications
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
FOR USERS
All User Resources
Product Registration
Technical Support
Customer Service
Developer Support
Does My Site Have a License?
Free Seminars
Certified Training
Custom Group Seminars
Documentation & Examples
Tutorial Screencasts
Video Gallery
Demonstrations Project
Education Portal
Student Resources
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Wolfram Blog
Mathematica Journal
Wolfram Library Archive
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
Combinatorica Package
>
Combinatorica
Package Symbol
Combinatorica
Tutorials »
|
FromOrderedPairs
FromUnorderedPairs
ToUnorderedPairs
See Also »
|
Graph Construction and Representations
More About »
ToOrderedPairs
ToOrderedPairs[
g
]
constructs a list of ordered pairs representing the edges of the graph
.
MORE INFORMATION
To use
ToOrderedPairs
, you first need to load the
Combinatorica
Package
using
Needs
["Combinatorica`"]
.
If
is undirected each edge is interpreted as two ordered pairs.
An option called
Type
that takes on values
Simple
or
All
can be used to affect the constructed representation.
Type->Simple
forces the removal of multiple edges and self-loops.
Type->
All
keeps all information and is the default option.
SEE ALSO
FromOrderedPairs
FromUnorderedPairs
ToUnorderedPairs
TUTORIALS
Combinatorica
MORE ABOUT
Graph Construction and Representations
© 2008 Wolfram Research, Inc.