Foblex / f-flow

Foblex Flow - is an Angular library designed to simplify the creation and manipulation of dynamic flow. Provides components for flows, nodes, and connections, automating node manipulation and inter-node connections.
https://flow.foblex.com/
MIT License
96 stars 19 forks source link

Automatically Attach Node to Connection on Drop #81

Open SamkitSanghvi opened 4 days ago

SamkitSanghvi commented 4 days ago

Description

When a node is dropped onto an existing connection between two nodes, it should automatically attach itself to the connection. This feature would enhance the user experience by simplifying node insertion into existing workflows.

Current Behavior:

Expected Behavior: -When a node is dragged and dropped onto a connection, the connection should split and attach to the dropped node, forming two new connections.

Example Use Case: Before :- Node A -----> Node B After dropping Node C on the connection(Wire) :- Node A -----> Node C -----> Node B

Thank you in advanced 🫡

Additional Context

No response