JavaScript is required

Lazy Load Tree Children on Expand

A top-down tree demo that lazy-loads child nodes when a collapsed branch expands. It appends the returned graph fragment into the live relation-graph instance, reruns layout, and shows both page-level and node-level loading feedback.

Edit on GraphPilot

Expand a Tree with Lazy-Loaded Child Nodes

What This Example Builds

This example builds a top-down tree that grows when the user expands marked nodes. The initial graph is intentionally small, then a collapsed branch requests more descendants on demand and appends them into the existing relation-graph instance instead of replacing the full dataset.

On screen, the user sees beige rectangular nodes, orthogonal connectors, bottom-positioned expand controls, and a floating white utility wind