Orthogonal links bad performance

I have a diagram of 50 nodes related between them.<?:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /><o:p></o:p>

I have written a method which goes all over the links in the diagram and set them to orthogonal = true. The performance is awful.

I debugged the action and I found that the operation that consumes much of the time is ‘propagate’ method which is called from JGoLink.addOrthoPoints(...)

{

.............

positions.propagate(...)

...............

}

Please advice thanks

If JGoLink.isAvoidsNodes() is true, then it does take time to compute a good minimal route between all the nodes. I’m not sure there’s anything easy you can do to improve that. How long is it taking? It shouldn’t be too noticeable to users, unless you are doing it continuously.