DOCUMENTATION CENTER SEARCH
Mathematica
>
Built-in
Mathematica
Symbol
General Graph Drawing
Hierarchical Drawing of Directed Graphs
Tree Drawing
Tutorials »
|
EdgeLabeling
VertexRenderingFunction
See Also »
VertexLabeling
VertexLabeling
is an option for
GraphPlot
and related functions which specifies whether labeling should be included by default for vertices in graphs.
MORE INFORMATION
VertexLabeling->
True
shows each vertex with its name given in a box.
VertexLabeling->
False
displays each vertex as a point.
VertexLabeling->
Tooltip
displays each vertex as a point, but gives its name in a tooltip.
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.
Any explicit setting for
VertexRenderingFunction
overrides the setting for
VertexLabeling
.
EXAMPLES
CLOSE ALL
Basic Examples
(4)
Show vertex labeling:
In[1]:=
Out[1]=
Show vertex labeling as tooltips only:
In[1]:=
Out[1]=
Show vertex labeling both as labels and as tooltips:
In[1]:=
Out[1]=
Show vertex labeling as tooltips only if the graph is small:
In[1]:=
Out[1]=
Scope
(5)
SEE ALSO
EdgeLabeling
VertexRenderingFunction
TUTORIALS
General Graph Drawing
Hierarchical Drawing of Directed Graphs
Tree Drawing
New in 6
© 2008 Wolfram Research, Inc.