chevron_right Demos chevron_right Recursive Group Layout
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

Recursive Group Layout

This demo shows how to use the RecursiveGroupLayout algorithm to apply a specific layout algorithm to the contents (direct children) of each group node.

In this demo, a different layout algorithm is used for each group node:

As the child nodes of group node 4 already have predefined layout values in the graph data, FIX_CONTENT_LAYOUT is used, which only calculates the size of the group node itself and does not alter the layout of its children.

The top-level hierarchy as well as groups without an assigned layout algorithm are arranged with the core layout algorithm.

Documentation