Hierarchical Layout with Constraints
This demo shows how to customize the assignment of the nodes to the layers (layering) and
the order of the nodes in a layer (sequencing) when using
HierarchicalLayout.
Layer Constraints
The layout is configured such that node 4 and node 5 are placed on the same layer.
The default hierarchical layout without constraints will place node 5 on the next layer.
Sequence Constraints
The layout is configured such that node 5 follows after node 4.
Things to Try
Click the button in the toolbar to toggle between hierarchical layout with and without
configured constraints.
Demos
Documentation