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:

Wolfram Research (2007), EdgeLabeling, Wolfram Language function, https://reference.wolfram.com/language/ref/EdgeLabeling.html.

Text

Wolfram Research (2007), EdgeLabeling, Wolfram Language function, https://reference.wolfram.com/language/ref/EdgeLabeling.html.

CMS

Wolfram Language. 2007. "EdgeLabeling." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EdgeLabeling.html.

APA

Wolfram Language. (2007). EdgeLabeling. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EdgeLabeling.html

BibTeX

@misc{reference.wolfram_2024_edgelabeling, author="Wolfram Research", title="{EdgeLabeling}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/EdgeLabeling.html}", note=[Accessed: 07-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_edgelabeling, organization={Wolfram Research}, title={EdgeLabeling}, year={2007}, url={https://reference.wolfram.com/language/ref/EdgeLabeling.html}, note=[Accessed: 07-December-2024 ]}