"SymmetricLayeredEmbedding" (Graph Layout Method)
"SymmetricLayeredEmbedding" (Graph Layout Method)
- Vertex layout for GraphLayout.
- Use symmetric layered digraph embedding to lay out vertices of a graph.
Details & Suboptions
- The symmetric layered embedding is a graph-drawing technique to position vertices of a graph on symmetric parallel lines.
- The symmetric layered embedding is typically used to lay out directed acyclic graphs.
- Possible settings to control the layout include:
-
"Rotation" Automatic layout rotation
Examples
open all close allBasic Examples (3)
Place vertices in a series of layers symmetrically:
Graph[{58, 59, 69, 35, 36, 13, 48, 24, 25, 12}, GraphLayout -> "SymmetricLayeredEmbedding"]"SymmetricLayeredEmbedding" works best for directed acyclic graphs:
TreeGraph[RandomInteger[{1, #}] # + 1 & /@ Range[20], GraphLayout -> "SymmetricLayeredEmbedding"]The symmetric layered drawing works on arbitrary graphs:
RandomGraph[{20, 35}, GraphLayout -> "SymmetricLayeredEmbedding"]