DOCUMENTATION CENTER SEARCH
Graph Utilities Package
>
Graph Utilities
Package Symbol
Graph Utilities Package
Tutorials »
|
Graph Utilities Package
More About »
ToCombinatoricaGraph
ToCombinatoricaGraph[
g
]
returns the
Combinatorica
representation of the graph
g
.
ToCombinatoricaGraph[
g
,
n
]
returns the graph
g
, adding additional unconnected vertices, if necessary, to create a graph with
n
vertices.
MORE INFORMATION
To use
ToCombinatoricaGraph
, you first need to load the
Graph Utilities Package
using
Needs
["GraphUtilities`"]
.
The following options can be given:
Method
Automatic
method used to lay out the graph
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Needs["GraphUtilities`"]
This defines a simple graph:
In[2]:=
This shows the
Combinatorica
object:
In[3]:=
Out[3]=
This uses the optional second argument to pad the graph with additional, unconnected, vertices:
In[4]:=
Out[4]=
Options
(2)
Possible Issues
(1)
SEE ALSO
TUTORIALS
Graph Utilities Package
MORE ABOUT
Graph Utilities Package
© 2008 Wolfram Research, Inc.