Snapping, Beautify and line style
Line up blocks while you drag them, tidy a whole diagram with one click, and choose how arrows are drawn.
Three tools help your diagram look neat. All of them live in one place: Project settings.
Open Project settings
- Computer and tablet: on the left side of the screen, in the Project group, select the gear (Settings). A small window opens beside it.
- Phone: tap Arrange in the bottom bar, then the gear.
Project settings has four parts: Snapping, Toolbar (the Labels switch), Layout (Beautify) and Line style.
Snapping
Snapping gently pulls a block into line while you drag it. Thin guide lines show what it lined up with.
| Option | What it does | Default |
|---|---|---|
| Grid | Positions land on the dot grid | Off |
| To elements | Lines up with the edges and centers of other steps and groups | On |
| To center | Aligns centers, left-right and up-down | On |
Select an option to turn it on or off. The editor remembers your choice on this device.
Move freely for one drag
Hold Alt (Option on a Mac) while dragging. Snapping is off until you let go.
Good to know
- The pull is small, so you can still place a block anywhere.
- When you drag a step, its center snaps. When you drag a group, its top-left corner snaps. Items dragged along with it keep their distance.
Labels
Labels shows or hides the text under the icons in the dock. With it off, the dock shows icons only and takes less room.
Beautify
Beautify arranges the whole diagram in one go. Use it when your drawing got messy.
- Draw or import a diagram.
- In Project settings, select Beautify. The editor picks a vertical or horizontal flow.
- To choose the direction yourself, select Beautify top to bottom or Beautify left to right.
- Not happy? Press undo. One undo brings the old layout back.
Beautify does nothing while the canvas is empty. It works on the diagram you are looking at. Groups are kept and given room.
Line style
Line style sets how every arrow in the project is drawn:
| Style | Looks like |
|---|---|
| Straight | Plain lines between blocks (the default) |
| Curved | Smooth S-shaped lines |
| Angled | Right angles with rounded corners |
- It is one setting for the whole project, not per arrow.
- Changing it is one undo step.
- It is saved with the project (in the project file, in autosave and in the cloud) and kept in the Mermaid export.
- In every style, arrows start and end at the middle of a block's side, where the connection dots are.
Limits
- Beautify moves everything. Your own positions are replaced (undo restores them).