Hi,
Thanks for the answer. if I set the isRouting to false, the layoutDiagram will keep the same routes.
However, I prefer when the links avoid nodes and the routing is Link.Normal… I did some tests and I noticed this behavior:
-
During the load, the links avoid nodes (Look like what I want):
-
When the load is complete, the links are “normal”:
-
When I call the layoutDiagram function, the links are reset like during the loading (what I want):
Also, the application is a single page application and this behavior happens only on first use of the diagram. If I go back after a navigation, the links always avoid nodes.
Can this behavior be caused by ports?? If I set the routing to AvoidNodes, the problem not happen.
Thanks for your help