We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

how to limit the number of connections on the Connector to the Node?

I want to make sure that only a certain number of connectors of a specific attribute can be connected to a single node.

Can I limit the number of connectors connected to a node? 

Or can you restrict connections only to connectors with certain shape properties?

I have already checked the Constraint property of node, but I have not found any constraints on the connection of the newly created Connector in Node Constraints.

1 Reply

BM Balasubramanian Manikandan Syncfusion Team March 7, 2023 02:07 PM UTC

Use ConnectionChange event to restrict the connectors from connecting to the nodes. Refer to the below-mentioned documentation and sample.



Attachment: ConnectionChange_6b6cbd62.zip

Live Chat Icon For mobile
Up arrow icon