Layout Features Tutorial
Hierarchic Layout with Layer Constraints
This demo shows how to customize the assignment of nodes to layers (layering) when using
Nodes 9 is placed in the topmost layer with the
Nodes 7 is placed in the bottommost layer with the
Nodes 0 is placed at least one layer below node 9 with the
Nodes 2 is placed in the same layer as node 0 with the
Click the button in the toolbar to toggle between
with and without configured constraints.
You can copy the code snippet to configure the layout from
demo for a more elaborate example of the constraints functionality.
Constrained Node Sequencing
section in the Developer's Guide for an in-depth discussion of the relevant concepts.
API documentation for detailed information on all available constraints.