Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Graphs & Networks > Graph Styling, Labeling, and Layout > VertexShape >
Mathematica > Visualization and Graphics > Graphs & Networks > Graph Styling, Labeling, and Layout > VertexShape >

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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF