The Eclipse Kernel Layout demo provides a collection of algorithms sometimes known as ELK to automatically layout diagrams with ports and hierarchical nodes.
Demo instructions
Observe how the ELK diagram is structured, and the particular layout of ports and nodes. Zoom in and out to dynamically change diagram segments.
Only available with the JointJS+ commercial license in the apps/ directory of your package. Don't have a license yet? Start a trial and use the source code of all our demos for free, with no strings attached, for 30 days.