AvoidsNodes RebuildLinkElements

We have our Routing=“AvoidsNodes” so that our links will not overlap any nodes on our diagram. However, whenever I call RebuildLinkElements, this seems to be ignored and links overlap other nodes. Is there a setting that I need to access in the code that will help me out here? Thanks!

Iterating through the links and setting link.Route.Routing = LinkRouting.AvoidsNodes does nothing because this is already what the Routing is set to anyway.

I hope you are callling RebuildLinkElements() for a good reason.

What do you call after that? Do you perform or finish a transaction?