chevron_right Demos chevron_right Hierarchical Nesting (Incremental)
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

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

Book a free live demo

Hierarchical Nesting (Incremental)

This demo shows how to nicely lay out the newly loaded nodes when expanding folded groups in graph.

Each time a folded group is expanded for the first time, all of its child nodes are retrieved and then marked as incremental using HierarchicalLayoutData.incrementalNodes. The from-sketch mode of the layout algorithm then ensures that the currently visible part of the graph is well-organized while remaining similar to the previous arrangement.

Things to Try

Demos

See the Hierarchical Nesting Demo for a hierarchical nested graph built on a pre-defined set of nodes without subsequent node retrieval.