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 {sx,sy} indicates a rectangle region with center {x,y}, lower-left corner {x-sx,y-sy}, and upper-right corner {x+sx,y+sy}.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Set the size for all vertices:

In[1]:=
Click for copyable input
Out[1]=

Individual vertices:

In[2]:=
Click for copyable input
Out[2]=

Set the size to use a fraction of minimum distance between vertex coordinates:

In[1]:=
Click for copyable input
Out[1]=

A fraction of overall diagonal for all vertex coordinates:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 2010
(8.0)
Translate this page: