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

VertexShape

VertexShape
is an option and property for Graph and related functions that specifies the graphics used for vertices.
  • The rendered form of each vertex is obtained by rescaling the given object.
Automaticuse preset default vertex shape
guse the graphic g for all vertices
{v1->g1,v2->g2,...}use for vertex
Draw vertex shapes using any Graphics, Image, or Graphics3D:
Specify vertex shapes for individual vertices:
Draw vertex shapes using any Graphics, Image, or Graphics3D:
In[1]:=
Click for copyable input
Out[1]=
 
Specify vertex shapes for individual vertices:
In[1]:=
Click for copyable input
Out[1]=
VertexShape can be used for general graphs:
Matrix graphs:
Special graphs:
Use Property to specify vertex shape:
VertexShape can be combined with VertexSize:
VertexShape is not affected by VertexStyle:
VertexShapeFunction has higher priority than VertexShape:
Create a food chain where an edge indicates what animals and insects eat:
The relation between shapes where the edge indicates a more general shape:
New in 8