Enumeration LayeredDigraphLayering

GoJS® Diagramming Components
version 3.0.16
by Northwoods Software®

This enumeration specifies how LayeredDigraphLayout.assignLayers assigns each node of the graph to a layer. Used for LayeredDigraphLayout.layeringOption.

since

3.0

Index

Enumeration Members

Assign layers using longest path sink layering, so that nodes are placed in the latest layer possible possibly resulting in longer links to nodes at the last/deepest layers.

Assign layers using longest path source layering, so that nodes without any predecessors are placed in the first layer possibly resulting in longer links from nodes at the first/shallowest layers.

Assign layers using optimal link length layering, so that links tend to cross the fewest number of layers.