SandHouse
Articles and contents

Help / Spaces

Diagrams

A diagrams space holds drawings made of boxes and arrows: flowcharts, process maps, architecture sketches, database diagrams, org charts. Everyone on the board can draw on the same diagram at once, and sees where the others' pointers are.

Draw

Click a shape in the toolbar to drop it in the middle of the view, or drag it to where you want it. Double-clicking an empty spot adds a rounded box there.

Shape (key)Usually means
Rectangle (R)a step, or a part of a system
Rounded rectanglea step or a screen
Ellipse (O)a start, an end, or a person
Decision (D)a question with more than one answer
Sticky note (N)a comment
Text (T)a label or a title
Container (C)a group of shapes: a swimlane, a service, a network

More (the grid button) has the rest: input / output, database, hexagon, triangle, document, cloud and person, plus icons (server, database, user, phone, lock and more) and Add a picture… to upload an image.

Double-click a shape to type in it (or press Enter with it selected). Select (V) moves and resizes shapes; the round handle above a selected shape turns it (in steps of 15°; hold Alt for any angle).

Move around

Drag an empty spot to move around the canvas (on a touch screen, drag with one finger, and pinch with two to zoom). Scrolling moves it too, and Ctrl+scroll (or a pinch on a trackpad) zooms. Holding Space, or dragging with the middle mouse button, moves the canvas even over shapes. Shift+1 fits the whole diagram, Shift+2 what's selected.

To select several things at once, hold Shift (or Ctrl, ⌘ on a Mac) and drag across them, or Shift-click them one by one. Ctrl+A selects everything, and clicking an empty spot clears the selection.

Right-click (or long-press on a touch screen) for a menu of what you can do with what's there. Press ? for every keyboard shortcut.

Connect

Use the Arrow tool (L) and drag from one shape to another; it goes back to Select after each arrow, so the next drag moves shapes again. You can also select a shape and drag one of its blue arrows to the next shape, or click a blue arrow to add a copy of the shape beside it, already connected. Arrows stay attached when you move the shapes.

While you draw an arrow, dots show the middles of the shape's sides. Let go on one and the arrow stays fixed to that side; anywhere else on the shape, it picks the nearest side as things move.

Select an arrow to change how it looks: Elbow, Curved or Straight lines, its width, Dashed, and what's at each end: arrowheads, open and filled triangles and diamonds (for UML), circles, and crow's feet (for database diagrams: one, zero or one, many, one or many, zero or many). ⇄ swaps the two ends. Double-click an arrow to label it ("yes", "sends invoice").

A selected elbow or curved arrow has a filled handle in its middle. Drag it to bend the curve, or to move an elbow's middle section; drag it back to the middle to undo the bend. A straight arrow has small dots in the middle of each stretch instead: drag one to add a bend there, and double-click a bend to take it out.

Line things up

Moving or resizing a shape snaps it to the edges and middles of shapes nearby, with a red line to show what it lines up with; otherwise it snaps to the grid. Hold Alt while dragging to place it freely.

With several shapes selected, Arrange in the style panel lines up their edges or middles, spaces them evenly, or Tidy up lays them out by their arrows, top to bottom (the right-click menu also has left to right).

Group (Ctrl+G) makes shapes move and select together; Ungroup is Ctrl+Shift+G. A container carries the shapes inside it when you move it.

Lock (Ctrl+Shift+L) pins a shape in place: it can't be moved, resized or deleted, and dragging it moves the canvas instead, which suits a background or a swimlane. Click it to select it and unlock it.

Style

With shapes selected, set their Fill, the colour of their Line and text, the line's width and Dashed, the text size (S, M or L), Bold, and where the text sits (left, centre or right; top, middle or bottom). Bring to front (Ctrl+]) and Send to back (Ctrl+[) change which shape is on top. Duplicate (Ctrl+D), Delete (Del), Undo (Ctrl+Z) and Redo (Ctrl+Shift+Z) work as you'd expect.

On a phone, selecting something swaps the shapes along the bottom for what you can do with it: bring to front, send to back, turn, lock, duplicate and delete. Style (the palette) opens its colours and text above them, and Done, or tapping an empty spot, clears the selection.

Select a shape and choose Add a link in the style panel (or Link… in the right-click menu) to link it to a page, another diagram or anything else on the board, or to a web address. A shape with a link has a small ↗ in its corner; select it and click the link under it to follow it. Pages it links to list the diagram among what links to them.

Bring a drawing in, take it out

Import (the arrow-up button) adds a Mermaid flowchart (flowchart TD, with its subgraphs as containers) or a draw.io file to the diagram, selected beside what's there so you can move it or undo it.

The diagram's ⋯ menu has Download as PNG, Download as SVG and Download for draw.io, as well as Rename, Duplicate and Move to trash. In the space's list, hover over a diagram for its ⋯, or right-click it (downloads need the diagram open).

Share it

Make the diagrams space public (⋯ → Visibility → Public, see Spaces) and anyone with the link can see its diagrams. Pictures uploaded into a diagram only show to the board's members. To show a diagram inside a page, type /embed there and pick it: the page shows the drawing as it is now, and clicking its title opens it.

Drawing together

Diagrams save as you go, and other people's changes show up as soon as they're saved, merged with yours shape by shape. Everyone else's pointer shows on the canvas in their color; hover it to see who it is. Diagrams don't keep a history of earlier versions, so use Duplicate before big changes you might want to undo.

Ask an assistant about a diagram

A connected AI assistant can read a diagram and answer questions about it, like "what happens if a payment is declined?" or "what writes to the orders database?". It follows the arrows and tells you which shapes it went through. If the diagram doesn't show something, it says so rather than guessing.

Ask it to review a diagram and it looks for:

  • shapes nothing connects to, and steps that lead nowhere
  • decisions with only one answer, or answers without labels
  • arrows that aren't attached at one end
  • shapes on top of each other
  • for a system or a process, gaps the diagram shows, like a missing failure path

With write access, it can draw a new diagram or change one, with everything above: containers, groups, icons, arrow ends, fixed sides and bends. If someone saves while it's working, its save is refused, so it reads the diagram again first and doesn't undo their work. See Connect an AI assistant.