14Documentation

Diagrams and tables

A procedure drawn as a picture, and a price list that adds itself up.

The quickest way: ask Agent Delta

Tell Delta “draw the warranty claim procedure as a diagram” or “turn the price list into a table with totals”. You see the result as a change in the draft and adjust it. The manual way follows.

A diagram in a document

  1. Click in the text where the diagram should go.
  2. Press + (Insert) in the bar and point at Diagram.
  3. Choose the kind — among them a procedure (flowchart), a timeline, a mind map, who sends what to whom, states, and a process map.

Most kinds insert an example diagram, which you rewrite to suit. They are written as simple text under the picture — if you would rather not, leave the rewriting to Delta.

A process map drawn with the mouse

The process map is different: it is a file of its own (its name ends in .bpmn) and it opens in its own editor. A palette of shapes runs down the left; you drag a shape onto the canvas and join the shapes with arrows. The zoom is at the bottom left.

A process map in the diagram editor. The palette of shapes on the left, the zoom at the bottom.

In a document such a map is shown live, in a frame of its own: edit the map, and it changes everywhere it is used. A diagram is a change like any other — it has its MarkUp, and it is published with the draft.

From a document to its process map

A process map shown in a document has two small icons in the head of its frame: one shows the map across the whole screen, the other opens it in its editor. Change it there; the document shows the new map as soon as you come back.

One process map leads to another

A step of a process can stand for a whole process of its own. Select the step in the editor and press Link to chart in the bar to link it to another process map; a click on that step then opens the other map.

A table in a document

An ordinary table goes in through + (Insert) → Table, where you choose rows and columns — or type / on an empty line and pick Table with three columns. You type straight into the cells; Tab moves between them.

The palette of the process map

From the top of the palette in the picture:

In the appWhat it means
The handMoves the whole canvas.
The dashed square with a crossSelects several shapes at once, by drawing a frame round them.
The arrows apartMakes room: pushes the shapes on one side further away.
The arrowJoins two shapes.
The circlesWhere the process starts, something it waits for on the way, and — bold — where it ends.
The diamondA decision: “Covered by warranty?” — yes one way, no the other.
The rounded rectanglesThe steps of the process, and a step that is a whole process of its own.
The page and the cylinderA document and a place where data is kept.
The wide rectangleA pool with lanes — one strip for each person or department.

A table that calculates

  1. In the Documents panel, press + → New file at the top level and choose a spreadsheet. A file is created that opens like a sheet in Excel.
  2. Click a cell and type. A formula starts with an equals sign, =B2*C2 for example.
  3. The line at the top shows the formula of the selected cell; the cells the formula reads from are outlined in colour.
A price list as a sheet. The formula of the selected cell at the top; the cells it is computed from are outlined.

You need not retype an existing Excel file: the command palette (⌘K) → Import a document or spreadsheet… reads an .xlsx or a .csv in as a new sheet. The other way goes File → Export to .xlsx.

Formulas that read like the table

A formula can name the columns instead of the cells. In the picture, the price of a row is =[@Net]+[@VAT] — this row’s Net plus this row’s VAT. Such a formula stays right when rows are added, moved or sorted, and anybody can read what it does.

  • =B2*C2 — two cells by their address, as in Excel.
  • =[@Hours]*[@Rate] — the same, by the names of the columns, for the row the formula is in.
  • =SUM(D2:D10) or =AVERAGE(F2:F10) — the usual functions over a range.

Under the sheet is a tab for each of its sheets — “Services” in the picture — and a + for another one.

A sheet’s table inside a document

A price list kept as a sheet can appear in a text document too: + → Embed a table from a sheet…. The table in the document stays live — change the sheet, and the document shows the new numbers.

Draw a process map from scratch

  1. In Documents, press + → New file at the top level and choose a diagram — or create it inside a folder from the folder’s own menu.
  2. In the editor, drag shapes from the palette on the left onto the canvas: a circle to start, rectangles for the steps, a diamond for a decision, a bold circle to end.
  3. Join them: drag from one shape to the next, and an arrow follows.
  4. Double-click a shape to name it. Lanes give each person or department a strip of their own.
  5. Everything saves itself, and the map is a change in the draft like any document.

Ask Delta

Diagrams and tables are where Delta saves the most typing. A few requests that work:

  • “Draw the warranty claim procedure as a flowchart under Process at a glance.”
  • “Make a timeline of the onboarding week from the table below.”
  • “Add a VAT column to the price list and a total at the foot.”
  • “Turn the list of deadlines into a table: reason, deadline, who approves.”

What she draws or calculates arrives as changes in the draft, like everything else she writes — check the numbers before you accept them.

Which one to use

In the appWhat it means
A table in a documentA few rows of text — who does what, deadlines, contacts. No calculation.
A sheetNumbers that depend on each other — a price list, a budget, a plan. Formulas recalculate by themselves.
A sheet embedded in a documentNumbers kept in one place and shown in several documents, always the same.
A diagram in a documentA procedure, a timeline or a mind map, written as simple text — quickest left to Delta.
A process mapA drawn process with lanes for the people involved, edited with the mouse.

Stuck? Write to svehl.jakub@gmail.com