BUILT-IN MATHEMATICA SYMBOL

EdgeLabelStyle

EdgeLabelStyle
is an option and property for Graph and related functions that specifies the style to use for edge labels.

DetailsDetails

  • Any style specification as used in Style can be used as a setting for EdgeLabelStyle.
  • Typical forms of settings include:
  • Automaticuse automatic setting
    styleuse style for all edges
    {e1->style1,e2->style2,...}use for edge
  • Color directives such as Red, as well as text specifications such as Bold or Small, can be given.
  • Giving the option setting EdgeLabelStyle->style is effectively equivalent to replacing the label-like elements of a formatting or related construct by Style[label, style].

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

Set the style for all edge labels:

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

Specify the style for individual vertex labels:

In[1]:=
Click for copyable input
Out[1]=
New in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »