Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >

VertexLabeling

VertexLabeling
is an option for GraphPlot and related functions which specifies whether labeling should be included by default for vertices in graphs.
  • VertexLabeling->Automatic displays each vertex as a point, giving its name in a tooltip if the number of vertices is not too large.
  • VertexLabeling->All displays the name of each vertex both explicitly and in a tooltip.
Show vertex labeling:
Show vertex labeling as tooltips only:
Show vertex labeling both as labels and as tooltips:
Show vertex labeling as tooltips only if the graph is small:
Show vertex labeling:
In[1]:=
Click for copyable input
Out[1]=
 
Show vertex labeling as tooltips only:
In[1]:=
Click for copyable input
Out[1]=
 
Show vertex labeling both as labels and as tooltips:
In[1]:=
Click for copyable input
Out[1]=
 
Show vertex labeling as tooltips only if the graph is small:
In[1]:=
Click for copyable input
Out[1]=
Show vertex labeling:
Show vertex labeling as tooltips only:
Show vertex labeling both as labels and as tooltips:
Show vertex labeling as tooltips only if the graph is small:
But not when the graph is large:
Show vertex labeling as tooltips:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team