You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking more closely at issue eclipse-sprotty/sprotty#427 reported for Sprotty, it seems that it's actually elkjs that's failing to delete the old bend points. The responsible class is JsonImporter.
Just looking at the code, my assumption is that this method in particular should delete old bend points from the JsonObject in case none are provided by the layout algorithm:
If I then change the height of n1 to 70 as in this file graph-1-layout.json and then run elk again I get the following drawing
and this output final-layout.json.
On elk-live this works correctly since each layout is fresh.
Looking more closely at issue eclipse-sprotty/sprotty#427 reported for Sprotty, it seems that it's actually elkjs that's failing to delete the old bend points. The responsible class is JsonImporter.
Just looking at the code, my assumption is that this method in particular should delete old bend points from the JsonObject in case none are provided by the layout algorithm:
elk/plugins/org.eclipse.elk.graph.json/src/org/eclipse/elk/graph/json/JsonImporter.xtend
Line 562 in c6f44e8
Can anyone confirm this?
The text was updated successfully, but these errors were encountered: