microsoft / msagljs

A JavaScript graph layout engine: port of MSAGL
https://microsoft.github.io/msagljs/
MIT License
143 stars 14 forks source link

Node move changes line type in SVG Renderer #78

Open wvdvegt opened 6 months ago

wvdvegt commented 6 months ago

Before node move ( splines ): image

After a node move (straight lines) : image

levnach commented 6 months ago

It is a known issue. Actually, the edges remain splines but they change the form too instantly. I struggled to fix it and do no have a solution.

wvdvegt commented 6 months ago

Almost seems like the line type has a value of curved which get reset to a default straight on redraw. So a setting that does not stick.

levnach commented 6 months ago

There is a special routing in Sugiyama Scheme that gets forgotten when the nodes are moved.