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
close icon

delete links along with node

Hello,

How Could I delete links connected to a node?

Thank`s for all.

1 Reply

DM Dinesh M Syncfusion Team February 1, 2010 11:26 AM UTC

Hi Javi,

Thank you for your interest in Syncfusion products.

You can delete the line connectors connected to a node by iterating through the edges collection of a node as follows.

For Each con As Node In nd.Edges
Diagram1.Model.RemoveChild(con)
Next

Please download the sample explaining it from the link below.

http://help.syncfusion.com/support/Diagram.Windows/Incidents/NodeDelete/Diagram_WF_Delete.zip

Regards,
Dinesh

Loader.
Live Chat Icon For mobile
Up arrow icon