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 > VertexSize >
Mathematica > Visualization and Graphics > Graphs & Networks > Graph Styling, Labeling, and Layout > VertexSize >

VertexSize

VertexSize
is an option and property for Graph and related functions that specifies the size used for vertices.
  • The following settings can be used:
Automaticautomatically compute size
Tiny,Small,Medium,Largeuse tiny, small, etc. sizes
{"Nearest",s}fraction of minimum distance between vertex coordinates
{"Scaled",s}fraction of overall diagonal for all vertex coordinates
{sx,sy}specify size in the x and y direction
  • A size indicates a rectangle region with center , lower-left corner , and upper-right corner .
Set the size for all vertices:
Specify the size for individual vertices:
Set the size for all vertices:
In[1]:=
Click for copyable input
Out[1]=
 
Specify the size for individual vertices:
In[1]:=
Click for copyable input
Out[1]=
Use symbolic vertex size:
Use a fraction of the minimum distance between vertex coordinates:
Use a fraction of overall diagonal for all vertex coordinates:
Specify size in both and directions:
VertexSize can be used for general graphs:
Matrix graphs:
Special graphs:
Random graphs:
Use VertexSize in a Property wrapper:
VertexSize can be combined with VertexShapeFunction:
VertexSize can be combined with VertexShape:
New in 8
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF