EdgeLabeling

As of Version 12.0, EdgeLabeling has been superseded by EdgeLabels.

EdgeLabeling

is an option for GraphPlot and related functions that specifies whether labeling specified for edges should be displayed by default.

Details

  • EdgeLabeling->Automatic gives edge labels as tooltips.
  • EdgeLabeling->True displays edge labels explicitly at the middle of each edge.
  • EdgeLabeling->False does not display edge labels.
  • Any explicit setting for EdgeRenderingFunction overrides the setting for EdgeLabeling.

Examples

open allclose all

Basic Examples  (3)

Show edge labels:

Show edge labels as tooltips:

Do not show edge labels at all:

Scope  (3)

By default, GraphPlot, TreePlot, and LayeredGraphPlot show edge labels:

Show edge labels as tooltips:

Do not show edge labels at all:

Possible Issues  (1)

An explicit setting for EdgeRenderingFunction overrides the setting for EdgeLabeling:

Use EdgeRenderingFunction to display edge labels for GraphPlot3D:

Introduced in 2007
 (6.0)