Drag nodes or groups into containers, build nested hierarchies, and manage dynamic parent-child structures in Angular with Foblex Flow. Use this pattern when your editor needs more than a flat canvas and grouping should feel like a first-class interaction.
[example.html] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/libs/f-examples/nodes/drag-to-group/example.html [example.ts] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/libs/f-examples/nodes/drag-to-group/example.ts [example.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/libs/f-examples/nodes/drag-to-group/example.scss
[fDropToGroup] input (on by default) — the "Drop to Group" toggle flips it live.fExternalItem.fIncludePadding, fAutoSizeToFitChildren, and fAutoExpandOnChildHit.fDropToGroup and fCreateNode.fDropToGroup when your app needs to validate or persist hierarchy changes.withFlowState({ dropToGroup: true }) to apply the emitted hierarchy change to the plugin store automatically; it remains off by default.fCreateNode if users should spawn nodes directly inside any container.