Hi Eric,
Sorry for the delay in getting back to you. If your intention is to remove the link connected to a node being deleted then you have to use RemoveNodeCmd in ChildrenChanging event.
But the diagram history manager now does not allow another action (removing a link) to proceed when an action is pending (the add link action is considered complete only after the event handler returns). That is why the RemoveNodesCmd action is not executed. We have internally fixed this issue in our latest source. Please open a new Direct Trac incident (mention the forum link in the subject line) so that we can update with the download link of the private patch including this bug fix.
As a work around, Please refer to the attached sample. In this sample I have seperately called the RemoveNodeCmd (In DeleteNodes button Click event) after the ChildChanging event handler returns. Please do the following.
1. Add Symbols and connect them through link(Click Links->Link item)
2.Select a symbol and click on the DeleteNode button.
3. Now the the link and the selected node should be deleted.
DeleteLinks_Symbols.zipPlease let me know if you have any questions. Thanks for your patience.
Regards,
Nagaraj