I have a class inheriting from ObservableGraphSourceBase, and there is inconsistent behavior between the RemoveLink and RemoveItem (override) methods when items on the diagram are deleted.
appears to work (get hit) in all cases when a connector is deleted. This works in all scenarios (single item or multiple selection
). This even works if a multiple selection includes both nodes & connectors.
is never hit, no matter how many nodes are deleted (single item or multiple selection).
public class ObservableGraphSource
: ObservableGraphSourceBase<DiagramTask, DiagramConnector>
public override bool RemoveLink(DiagramConnector link)
// Deleted Link
public override bool RemoveItem(DiagramTask node)
// This is not being called