Skip to Content
Vue Flow v2 is here and joins xyflow! Read more here →
ExamplesSubflows & Grouping

Parent Child Relation

This example demonstrates how to dynamically create parent-child relationships between nodes. You can drag a node over a group node to attach it as a child, and drag it out of the group again to detach it. The group node highlights itself while a node is dragged over it, and absolute positions are converted to parent-relative coordinates when a node changes its parent.

About this Pro Example