Skip to content

frontend-web-editor


Function: default()

default(_depth): void

Defined in: app/hooks/eventTree/useLayout.ts:120

Apply and animate a clustered layout for Event Tree nodes.

Uses D3 cluster + stratify to compute positions for the current nodes and column-nodes, then interpolates positions to animate into place. The _depth parameter is currently unused and reserved for future behavior tuning.

Parameters

_depth

number

Unused; reserved for future layout variants.

Returns

void