We have a gojs diagram that is very much based on your flowchart example.
But there is one issue with temporary link routing that we are not very happy with. You can see the same issue in your example.
If one drags a new link from the bottom of one box, through another box and arrives at a third box below the other two, then the temporary routing shows right through the middle box, while the final routing after releasing the mouse avoids the box and goes around it.
Look at these images before and after releasing the mouse.
We have tried setting the temporaryLink.routing = go.Link.AvoidsNodes, but this does not seem to work.
Is it possible to have the temporary linking show the same as the final linking with AvoidsNodes?
Yes, that’s true: link routing for temporary Links does not do “AvoidsNodes” routing. This is mostly for improved responsiveness, since such routing is computationally expensive.
You could try making the temporary Link not temporary, by not having it in the “Tool” layer (nor any other layer that is Layer.isTemporary):
myDiagram.toolManager.linkingTool.temporaryLink.layerName = “”;
Although I don’t know for sure if there might not be some unintended consequences.