Hi!
I want to delete a Link via RemoveNodeCmd.
In the diagram_ChildrenChangeComplete(..) event I do the following things: (''link'' is a Link - not null)
RemoveNodesCmd rnc = new RemoveNodesCmd();
rnc.Nodes.Add(link);
diagram.Controller.ExecuteCommand(rnc);
I attached a sample with the used code.
Regards
Falk
RemoveLinkTest.zip