Node Graph ortho layout#
Node Graph ortho autolayout options#
These settings are shown in Basemap layer when Node Graph ortho is selected:
- Layout engine: MSAGL (default) or ELK. The selected engine loads on demand.
- Node cards: draw labels as cards above node circles, with edges attached to the card borders. Off by default.
- Edge routing: choose Splines for
SugiyamaSplinesor Rectilinear. - Layout direction: choose the layer flow direction: right-to-left, left-to-right, top-to-bottom, or bottom-to-top.
- Layer separation: distance between adjacent layout layers. In the default right-to-left layout this mostly changes horizontal spacing and edge length.
- Node separation: distance between nodes within the same layout layer. In the default right-to-left layout this mostly changes vertical spacing.
ELK layout tradeoffs#
Choose ELK when you need coordinated flow across namespace boundaries. It lays out namespace children together using INCLUDE_CHILDREN; MSAGL remains the default engine.
ELK uses Brandes-Köpf node placement with Coffman-Graham layering to reduce layout time while retaining bounded columns and cross-namespace flow. Compared with the former Network Simplex placement, some topologies may have longer edges, more whitespace, or a taller layout, especially with many edges spanning several layers, differently sized cards, or converging and diverging branches. These are potential visual tradeoffs, not guaranteed regressions; layout quality and runtime depend on the graph.
If an ELK layout looks too spread out, try Layer separation and Node separation, or compare the same graph with MSAGL. Changing spacing does not restore Network Simplex optimization; the placement strategy is internal and is not an editor option.
Auto-layout options#
- Layout engine defaults to MSAGL. ELK uses layered layout with
INCLUDE_CHILDREN, Coffman-Graham layering, and Brandes-Köpf node placement. This preserves coordinated flow across namespaces while avoiding the expensive Network Simplex placement pass. Some graphs may have longer edges or more whitespace than with the former placement strategy. For details, refer to ELK layout tradeoffs. - Basemap layer -> Node Graph ortho -> Edge routing -> Splines maps to
SugiyamaSplines. - Basemap layer -> Node Graph ortho -> Edge routing -> Rectilinear maps to
Rectilinear. - Basemap layer -> Node Graph ortho -> Layout direction maps to the MSAGL layer direction values
RL,LR,TB, orBT. - Basemap layer -> Node Graph ortho -> Layer separation maps to MSAGL
LayerSeparation. Default:60. - Basemap layer -> Node Graph ortho -> Node separation maps to MSAGL
NodeSeparation. Default:40. - These settings apply in abstract node graph mode, where Mapgl runs auto-layout.
- The settings are stored in the Node Graph ortho basemap layer config.