Hierarchical Layout with Given Layering
This demo shows how to customize the HierarchicalLayout to place nodes
in a predefined layer.
Given Layering
The layout is configured such that nodes with the same layer index are placed in the same
layer.
In this demo, the layer indices are stored in the nodes' tags and also presented in
the labels of the nodes.
Things to Try
Click the button in the toolbar to toggle between hierarchical layout with and without
given layering.
Demos
Documentation