Start connection with a single click #264
-
|
Hey Guys. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi! Thanks for the question 🙌 You can implement the “click to click” connection creation on the app side without any extra API from f-flow. A simple approach:
In Angular this is usually easiest by attaching (click) handlers to the elements where you have fNodeOutput / fNodeInput directives and calling event.stopPropagation() to avoid canvas/node click side effects. If you like what we’re building with f-flow, consider starring the repo - it really helps the project. 🙌 |
Beta Was this translation helpful? Give feedback.
-
|
This ships in v19.0.0 🙌
Live demo: https://flow.foblex.com/examples/click-to-connect Thanks for the request - it also pushed the internals in a good direction: both gestures now run on one gesture-independent connection engine, which is what later made keyboard-driven connection creation possible. |
Beta Was this translation helpful? Give feedback.
Hi! Thanks for the question 🙌
You can implement the “click to click” connection creation on the app side without any extra API from f-flow.
A simple approach: