microsoft / automatic-graph-layout

A set of tools for graph layout and viewing
Other
1.34k stars 301 forks source link

Weird edge rendering #361

Open lafrank opened 7 months ago

lafrank commented 7 months ago

Sometimes, after redrawing graph edges, they are rendered in a weird way:

image002

When moving nodes and the graph is re-rendered, edges are drawn as expected normally :

image001

What parameter in below graph layout algorithm makes it happen this way, what to change to avoid the first rendering mode ?

image003

Thank you in advance.

levnach commented 7 months ago

The parameters look okay. I think what happens here is that an exception is thrown during the edge routing and the routing does not finish. That is why the edges don't look regular.

lafrank commented 7 months ago

Thank you, let me check it.