Hi guys, I’m trying to remove the node Utility and instead of removing the link between 8-Utility and Utility-9, I want to merge these links together.
The problem is that, in the OnChanged method, the link between 8-Utility is removing before the node Utility. Is there another way to achieve my goals?
Is this in response to the user’s selection of the Utility node and deleting it? If so, you could implement a Diagram.SelectionDeleting event handler and remember the new links you need to create. Then in a Diagram.SelectionDeleted event handler you could create those new links.