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

VertexCoordinateRules

VertexCoordinateRules
is an option for GraphPlot and related functions which specifies rules for determining the coordinates at which vertices should placed.
  • VertexCoordinateRules->{va->ra, vb->rb, ...} specifies explicit coordinates for vertices with names va, vb, ....
  • Vertices whose coordinates are not explicitly specified in the rules given by VertexCoordinateRules are automatically assigned coordinates by the graph layout procedure.
  • A setting vk->Automatic specifies that the vertex with name vk 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:
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 y coordinates:
In[1]:=
Click for copyable input
Out[1]=
New in 6