is an option for GraphPlot and related functions that specifies how to draw multiple edges.
MultiedgeStyle
is an option for GraphPlot and related functions that specifies how to draw multiple edges.
Details
- Typical settings for MultiedgeStyle include:
-
Automatic draw multiple edges for graphs given by explicit rules All always draw multiple edges None never draw multiple edges δ spread multiple edges by scaled distance δ - With MultiedgeStyle->Automatic, multiple edges are not drawn for graphs specified by adjacency matrices.
Examples
open all close allBasic Examples (2)
Scope (4)
Spread multiple edges by a specified scaled distance:
Table[GraphPlot[{1 -> 2, 1 -> 2, 1 -> 3, 1 -> 4, 1 -> 5, 2 -> 3}, MultiedgeStyle -> s], {s, {1 / 5., 1 / 4., 1 / 3.}}]Multiedges for a hierarchical-style drawing:
LayeredGraphPlot[{1 -> 2, 2 -> 3, 3 -> 4, 1 -> 4, 1 -> 4}]GraphPlot[{1 -> 2, 1 -> 2, 1 -> 2, 1 -> 2, 1 -> 2, 1 -> 3, 1 -> 4, 1 -> 5, 2 -> 3}]Draw several edges for a graph specified by a generalized adjacency matrix:
GraphPlot[SparseArray[{{1, 2} -> 5, {1, 3} -> 1, {1, 4} -> 1, {1, 5} -> 1, {2, 3} -> 1}, {5, 5}], MultiedgeStyle -> All]See Also
Tech Notes
History
Text
Wolfram Research (2007), MultiedgeStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/MultiedgeStyle.html.
CMS
Wolfram Language. 2007. "MultiedgeStyle." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MultiedgeStyle.html.
APA
Wolfram Language. (2007). MultiedgeStyle. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MultiedgeStyle.html
BibTeX
@misc{reference.wolfram_2026_multiedgestyle, author="Wolfram Research", title="{MultiedgeStyle}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/MultiedgeStyle.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_multiedgestyle, organization={Wolfram Research}, title={MultiedgeStyle}, year={2007}, url={https://reference.wolfram.com/language/ref/MultiedgeStyle.html}, note=[Accessed: 13-June-2026]}