Auto Layout
Let NeoArc Studio automatically arrange your diagrams. Choose from multiple layout algorithms optimised for different diagram types.
Manually positioning shapes in complex diagrams is time-consuming and often produces inconsistent results. Auto layout uses algorithms to arrange shapes automatically, creating clear and readable diagrams.
Using Auto Layout
Layout Directions
Top to Bottom
Arranges shapes in a hierarchy flowing downward. The default choice for:
- Organisation charts
- Data flow diagrams
- Process flows
- Inheritance hierarchies
Left to Right
Arranges shapes in a hierarchy flowing rightward. Good for:
- Timelines
- Pipeline diagrams
- Sequential processes
- Western-style reading flow
Bottom to Top
Hierarchy flowing upward. Useful for:
- Dependency diagrams (dependencies point up)
- Foundation/layer diagrams
Right to Left
Hierarchy flowing leftward. Less common but available for specific use cases.
How the Algorithm Works
NeoArc uses the ELK (Eclipse Layout Kernel) algorithm, which:
- Analyses the connection graph to identify layers
- Minimises connection crossings
- Maintains consistent spacing
- Respects shape sizes
- Produces deterministic results (same input = same output)
Partial Layout
You do not have to layout the entire diagram at once:
- Select a subset of shapes
- Apply auto layout
- Only selected shapes are rearranged
- Unselected shapes stay in place
This is useful for reorganising one section of a large diagram without affecting the rest.
Layout Spacing
Adjust the spacing between shapes in the layout settings:
- Node spacing - Horizontal distance between shapes in the same layer
- Layer spacing - Vertical distance between layers
Increase spacing for presentation diagrams; decrease for compact technical documentation.
After Auto Layout
Auto layout provides a starting point. You can then:
- Fine-tune individual shape positions
- Adjust connection routes
- Add annotations or notes
Manual adjustments are preserved until you run auto layout again.
Best Practices
- Start with auto layout - Run it first, then make manual adjustments
- Match direction to meaning - Top-to-bottom for hierarchies, left-to-right for sequences
- Group related shapes - Layout works best when connections reflect logical groupings
- Use containers - Group shapes in containers before layout to keep them together