Layout and spacing
Move things by hand, snap them into line, put them back with Tidy up, and set how far apart the app places them.
The app lays out every diagram for you. This page covers how you can adjust that layout: moving things by hand, putting them back, and setting the spacing.
Move things by hand
What you can move depends on the kind:
| Kind | What you can move |
|---|---|
| BPMN process | A step, within its own lane. Notes, data and groups, anywhere clear of the steps. |
| ER diagram | Tables, enums and groups, anywhere. |
| Flowchart | Shapes and frames, anywhere. |
| Sequence diagram | Nothing moves freely. You change the order of participants and messages instead. |
A thing you've moved stays where you put it. Edits in the code or by the assistant leave it there.
Each kind's page explains the details: Move steps for a process, and the canvas pages for ER diagrams, flowcharts and sequence diagrams.
Snap into line
While you move a shape, it snaps into line with the shapes around it:
- first, into line with a shape it's joined to, so the line between them runs straight. This reaches further than the other guides. In an ER diagram, it's the related column's row,
- to another shape's edges or centre, with a guide line through each match,
- to the same gap as two shapes beside it, with the gaps marked,
- to a spot the kind names, such as a step's own place in the layout,
- otherwise, to the grid of dots on the canvas, or halfway between two dots.
Hold ⌘ (Ctrl on Windows and Linux) while you drag to place a shape freely.
Two shapes a few units off line still get a straight line between them: its end slides along the side of a box to meet the other. A diamond or a circle keeps its point.
Snap to grid, in the menu on empty canvas, turns the grid on or off. It's on at first. It's in BPMN processes, ER diagrams and flowcharts.
Put things back
Tidy up, in the menu on empty canvas, puts everything you've moved back where the app would place it. It's in BPMN processes, ER diagrams and flowcharts.
You can also put back one thing at a time: choose Back to its place in its right-click menu or the selection bar's More menu. It's there for anything you've moved, in BPMN processes, ER diagrams and flowcharts. In a process you can also drag it back until the caption says Back to its place. See Move steps.
The assistant and your AI app can do both, for example "tidy up the layout" or "put the orders table back".
Set the spacing
Set spacing, in the menu on empty canvas, sets how far apart the app places things. It works in every kind. Pick one of four steps:
- Compact
- Standard, the default
- Roomy
- Spacious
Each change is one undo step. The spacing is saved with the diagram and used in image exports, and in BPMN exports for a process. It isn't written in the diagram's code.
You can also ask the assistant, for example "make it a bit more spacious". In a BPMN process it can set the gap between columns and the gap between rows and lanes separately, such as "more room between the lanes".
Arrange an ER diagram
ER diagrams have one more choice in the same menu: Arrange sets how the layout places tables: Left to right, Stages, Hub or Packed. See Move and arrange.
Where positions are kept
Where you moved things is saved with the diagram, like the spacing. The diagram's code doesn't write positions, so code you copy or import carries none.
The assistant and your AI app know what was moved but not where to. In a BPMN process they know how many steps were moved; in an ER diagram or a flowchart, which ones.