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

VertexCoordinates

VertexCoordinates
is an option to Graph and related functions that specifies the coordinates to use to place the center of vertices.
Automaticautomatically compute vertex coordinates
{pt1,pt2,...}place vertex at etc.
By default any vertex coordinates are computed automatically:
Specify all vertex coordinates:
In this case putting them on a parabola:
By default any vertex coordinates are computed automatically:
In[1]:=
Click for copyable input
Out[1]=
 
Specify all vertex coordinates:
In[1]:=
Click for copyable input
Out[1]=
In this case putting them on a parabola:
In[2]:=
Click for copyable input
Out[2]=
VertexCoordinates can be used for general graphs:
Matrix graphs:
Special graphs:
VertexCoordinates has higher priority than GraphLayout:
Use an automatic layout of a molecule:
Also specify the vertex coordinates:
Automatically draw a graph from its adjacency matrix:
Use specific embedding by setting vertex coordinates:
Generate a circle layout:
Grid layout:
Discrete spiral layout:
Generate a path graph with a specified layout:
Highlight the vertices on the inner circle:
All vertex coordinates in a list follow the order given by VertexList:
New in 8