I have the following diagram: A->C, B->C. I’m merging nodes A and B together into a single node. (More precisely: I’m merging the business objects behind those nodes and then updating my diagram to reflect the new state.) The resulting diagram is A=>C (two links from A to C). I’m modifying the GraphLinksModelLinkData for the B->C link such that the From property is the A.Key value. The only problem I’m running into is that the modified link is visually on top of the other link. Is there a way to force one or both links to be rerouted so they are not on top of each other? I tried calling Link.Remeasure() on the modified link, but that didn’t have any impact.
Some more details: I am modifying the model inside of a transaction. I have an undo manager, but I need to prevent the user from undoing the modification to the link model’s From value thus I’m setting SkipsUndoManager = true for my transaction. My Link.Route is not data bound; I’m using Bezier curves at the moment, but also need to support straight lines eventually.