VertexSize

VertexSize
is an option and property for Graph and related functions that specifies the size used for vertices.

DetailsDetails

  • 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
  • VertexSize->s for a number s is taken to be VertexSize->{"Nearest", s}.
  • A size indicates a rectangle region with center , lower-left corner , and upper-right corner .

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

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]=
New in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »