All versions of this documentation
Download code Jump to the code Open in the playground

Hierarchical advanced

The selected node is used as top of the hierarchy: click to change it dynamically.
Click an edge to make its extremities the top of the layout.
Play with the parameters of the layout to tweak the final result: