"LayeredDigraphEmbedding" (Graph Layout Method)

Details & Suboptions

  • The layered digraph embedding is a graph-drawing technique to position vertices of a graph on parallel lines.
  • The layered digraph embedding is typically used to lay out directed acyclic graphs.
  • Possible settings to control the layout include:
  • "Orientation"Automaticlayout orientation
    "RootVertex"Automaticroot vertex
    "VertexLayerPosition"Automaticposition of the layers


open allclose all

Basic Examples  (3)

Place vertices in a series of layers:

"LayeredDigraphEmbedding" works best for directed acyclic graphs:

The layered digraph drawing works on arbitrary graphs:

Options  (3)

"Orientation"  (1)

Use the option "Orientation"o to draw a tree with different orientations:

"RootVertex"  (1)

Use the option "RootVertex"v to set the root vertex:

"VertexLayerPosition"  (1)

Use the option "VertexLayerPosition"positions to specify the positions of layers: