chevron_right Demos chevron_right Hierarchical Layout with Node Alignment
Related demos
Book a live Demo

Live Demo — yFiles in Action

30–45 min | Online | No install required

For Developers, Product Mangers & Executives

  • Interactive graph visualization in real time
  • Integration example
  • Live Q&A and next step recommendations

30–45 minutes | 1:1 or team session | Online (Zoom / Teams)

No install required | We show live code

Book a free live demo

Live Demo — yFiles in Action

30–45 min | Online | No install required

For Developers, Product Mangers & Executives

30–45 minutes | 1:1 or team session | Online (Zoom / Teams)

No install required | We show live code

Book a free live demo

Hierarchical Layout with Node Alignment

This demo shows how to configure the HierarchicalLayout to align nodes connected by critical paths.

The priorities are passed to the layout algorithm through the criticalEdgePriorities property, causing the connected nodes to be aligned.

In this demo, edges belonging to the longest path in the graph are designated as critical (see pink edges). Of course, any other criterion may be used to define the set of critical edges.

Things to Try

Demos

Documentation