Logo
NeoArc Studio

Auto-Layout Reference

Complete reference for automatic diagram layout using ELK.js algorithms including hierarchical, force-directed, and layered layouts.

Auto-layout automatically arranges diagram elements using the ELK.js (Eclipse Layout Kernel) library. This saves time when creating or reorganising complex diagrams.

Layout Algorithms

Available layout algorithms
AlgorithmDescriptionBest For
Hierarchical (layered)Arranges nodes in layers based on dependenciesFlowcharts and dependency graphs
Force-directedUses physics simulation to space nodes evenlyNetwork diagrams
BoxSimple grid-based arrangementComponent inventories
RandomRandom placementStarting point for manual adjustment

Layout Options

Configurable layout options
OptionDescription
DirectionTop-to-bottom, left-to-right, bottom-to-top, right-to-left
SpacingDistance between nodes
LayeringHow nodes are assigned to layers
Node placementHow nodes are positioned within layers
Edge routingHow connections are routed between nodes

Using Auto-Layout

Best Practices