Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >

VertexCoordinateRules

VertexCoordinateRules
is an option for GraphPlot and related functions which specifies rules for determining the coordinates at which vertices should be placed.
  • Vertices whose coordinates are not explicitly specified in the rules given by VertexCoordinateRules are automatically assigned coordinates by the graph layout procedure.
  • A setting Automatic specifies that the vertex with name should be assigned coordinates automatically.
  • vk->{x, Automatic} defines an explicit x coordinate, but specifies that the y coordinate should be assigned automatically. vk->{Automatic, y} defines instead an explicit y coordinate.
  • The range of coordinates generated automatically is determined by the setting for the DataRange option.
Specify coordinates for all vertices:
Specify coordinates for all vertices using just the coordinates:
Specify coordinates for some vertices:
Specify coordinates for coordinates:
Specify coordinates for all vertices:
In[1]:=
Click for copyable input
Out[1]=
 
Specify coordinates for all vertices using just the coordinates:
In[1]:=
Click for copyable input
Out[1]=
 
Specify coordinates for some vertices:
In[1]:=
Click for copyable input
Out[1]=
 
Specify coordinates for coordinates:
In[1]:=
Click for copyable input
Out[1]=
Visualize a connected bipartite graph by fixing the coordinates of the layout:
Draw a disconnected bipartite graph by linking every left and right node with phantom nodes:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF