Hi Olga ,
Thanks for your interest in Syncfusion products. The old version of the diagram control does not support to undo the insertion of nodes. As a work around you can cancel the ChildrenChanging event when it addes with the link. Please refer to the following code snippet.
this.diagram1.Model.ChildrenChanging += new NodeCollectionEventHandler(Model_ChildrenChanging);
void Model_ChildrenChanging(object sender, NodeCollectionEventArgs evtArgs)
{
if (evtArgs.Node is Link && evtArgs.ChangeType == CollectionExChangeType.Insert)
{
evtArgs.Cancel = true;
}
}
Our latest version of diagram can undo the insertion of the nodes. You can download our latest version from the following page.
http://www.syncfusion.com/downloads/product/build.aspxUnlock key:
If your Essential Studio license is current, you will be able to obtain the key to install this version from your account in DirectTrac Otherwise, please contact your Syncfusion Sales Representative or e-mail salessupport@syncfusion.com
Please let me know if you have any questions.
Thanks,
Nagaraj