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

Is there a way to prevent only standalone deletion of a Connector?

Hi.


I want to prevent direct deletion of Connectors, but allow them to be deleted together with connected nodes. also,  I want to use the objects individually, without grouping them together.

I tried using ConnectorConstraints.Default & ~ConnectorConstraints.Delete to block deletion, but this prevents deletion of Connectors even when deleting nodes.

 Is there a way to achieve this?


2 Replies

AS aim Systems April 24, 2023 08:52 AM UTC

I resolved it by using collectionChange. Whenever a node was removed, I changed the Connector Constraint condition to solve the issue.



PR Preethi Rajakandham Syncfusion Team April 25, 2023 05:01 AM UTC

Hi,

We are happy to hear that the problem has been resolved by yourself. Please let us know if you require any further assistance on this. As always, we will gladly assist you.

Regards,

Preethi R


Loader.
Live Chat Icon For mobile
Up arrow icon