Closed Drakae closed 9 months ago
How are you integrating ELK with Sprotty – elkjs, elk-server, sprotty-server, or something else?
I use sprotty-elk and elkjs.
Ok then this issue should rather be discussed in the elkjs repo.
Just one hint: are you using the latest version of elkjs, and have you enabled the rectpacking algorithm in the API?
Thanks for the hint, I overlooked this.
I want to use the rectpacking layout algorithm of ELK (using Sprotty version 0.13.0). However, when setting the property in the layout config I get the following error: Failed to generate diagram: Error: org.eclipse.elk.core.UnsupportedConfigurationException: Layout algorithm 'rectpacking' not found
I tested the JSON of my graph in elklive as well as with an ELK CLI (both times the versions 0.8.2 and 0.9.0) and there it works just fine. Example JSON: