Dynamic Grouping
This example shows how to group nodes dynamically. You can drag a node from the sidebar or the pane to a group or select multiple nodes and use the "Group Nodes" button to group them.
Dependencies: reactflow (opens in a new tab), @reactflow/node-resizer (opens in a new tab)
This is a Pro example. You can access the annotated source code if you are subscribed to React Flow Pro.