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

Add support for ports and connection validation for nodes #80

Open quentingllmt opened 1 week ago

quentingllmt commented 1 week ago

Description

Hello,

First of all, great work on this library!

Do you plan to add support for ports in the future? This would allow nodes to have multiple inputs and outputs.

Additionally, are you considering adding connection validations (e.g., preventing two inputs from being connected) or type checks, similar to what JointJS offers? It is not in your f-scheme-editor example.

Illustration :

image

Thanks for your great work and for considering this feature! 🙌

Additional Context

No response

siarheihuzarevich commented 1 week ago

Hello. You can add many inputs and outputs inside a node. You can also manage connection validation yourself by checking it in the connectioncreate event

anderson-896 commented 6 days ago

This feature already exists