React-diagrams: Control Link creation

Created on 13 Jun 2017  路  4Comments  路  Source: projectstorm/react-diagrams

Is there a way to control which ports are connected to which?
Meaning that only certain ports should be able to be connected to others, but to do this not programmatically but through the canvas
Thanks

feature request

Most helpful comment

I achieved this by utilizing custom port models that extend the default ones.

All 4 comments

Unfortunately not at the moment, we wanted to add it as an overridable method in the PortModel or NodeModel, but never got to it

I achieved this by utilizing custom port models that extend the default ones.

Would be awesome if you're able to share the custom port model.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gugaevkirill picture gugaevkirill  路  3Comments

quangas picture quangas  路  3Comments

schecter22107 picture schecter22107  路  3Comments

CarlousF picture CarlousF  路  3Comments

jardg picture jardg  路  3Comments