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

When I add data directly to a node, the connectors are deleted.

hi,

I am experiencing an issue where connectors disappear when I manually add data to nodes.

Is there a way to add nodes to the screen using a method other than directly adding values to the node?

I want to allow users to drag cells in a Grid component from an external component, separate from Syncfusion, to add nodes.



I am aware that there is a way to start from scratch using the diagram.clear.
but this consumes too many resources when there are many existing nodes. Therefore, I need a different solution.


1 Reply

VG Vivisa Ganesan Syncfusion Team March 27, 2023 02:27 PM UTC

Hi,

We can add node at runtime using add method. We have created the sample in which we added nodes at runtime using button click. Please refer the documentation and sample below.

Sample:

Regards,

Vivisa



Attachment: Addnode_db4323be.zip

Loader.
Live Chat Icon For mobile
Up arrow icon