Is there a way to pause layout and routing while making a bulk update to the diagram parts?
Specifically, I’m not using a layout manager, but I’m implementing a user setting to toggle the link routing for all links between Orthogonal and AvoidsNodes, and I’m wondering if there’s a way to make the switch faster by not computing temporary routes while looping over the links.
I’m not sure you can save any time in that situation. As long as nodes aren’t added or removed and as long as they remain stationary and with unchanged size, there should be the same amount of computation whether the routing happens immediately or later.
As it so happens, that optimization is in version 1.2, in order to greatly speed up loading diagrams that have AvoidsNodes routing. But it doesn’t help when the nodes aren’t changing, which seems to be your case.