kieler / elkjs

ELK's layout algorithms for JavaScript
Other
1.81k stars 97 forks source link

Support box layout along with edges #265

Closed AjayZuora16 closed 9 months ago

AjayZuora16 commented 9 months ago

Is it possible to implement box layout along with edges so that I can fit the view with large number of nodes?

soerendomroes commented 9 months ago

No, this would require a standalone edge router such as libavoid, which we were able to integrate for ELK but not elkjs. I suggest using libavoidjs[1] directly as a postprocessing after using box or rectpacking.

[1] https://www.npmjs.com/package/libavoid-js