14Documentation

Diagrams and tables

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

The quickest way: ask Agent Delta

Write to Delta “draw the warranty procedure as a diagram” or “make a table with totals from the price list”. You will see the result as a change in the draft and can adjust it. This way is the same in both modes. The manual way follows.

A diagram a document already holds

You see a diagram in a document as a live picture in both modes. Rest the pointer on it and buttons appear in its corner: ⛶ opens it full screen (Esc closes). A process map also has ↗ Edit the diagram (opens the .bpmn file), the same as a double-click. A diagram written as text has ✎, which opens the Edit diagram window with its source, and ⇥, which moves it into a file of its own, so that other documents can show it too.

A diagram is a change too: a new one stands in the text with a green strip and the words “New diagram — there was none here before”, and the card beside the page shows it whole, with ✓ and ✗.

A diagram as a document of its own

  1. In the Documents panel press + and choose New file at the top level.
  2. For its kind choose Process diagram (a BPMN process you draw with the mouse), or Mermaid diagram (a diagram written as text).
  3. Type a name and confirm.

A process map opens in its own editor: on the left a palette of shapes that you drag onto the canvas and join with arrows. The button with a circled i in the bar explains how to draw in the canvas. Its File menu has Download as SVG and Download as PNG instead of the Word export.

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

A table in a document

You insert a table into the text in both modes: + (Insert) › Table, and choose the rows and columns in the grid. The slash is quicker: / and Table puts in a table with three columns. You write right into the cells. Tab takes you to the next cell; in the last cell it adds a new row.

While you stand in a table, a bar of its own appears beside it:

A table in the text with its own bar. The fx mark says that a formula works the number out.
In the appWhat it means
RowsInsert row above, Insert row below, Delete this row, and sorting with Sort rows A → Z and Sort rows Z → A.
ColumnsInsert column left, Insert column right, Delete this column.
AlignmentAlign left, Align centre, Align right.
Header cell / rowMakes a cell or a row a header.
Fill and stateThe colour of a cell and its state: State: ok, State: warning, State: blocked.
Total row, number format, type and validationMark this row as a total, a number format (Czech crowns or percent, for example), the cell type, and validation: allowed values, the minimum and the maximum.
More table actionsReset column widths, Stretch to page width, Delete the whole table.

A table in the text takes formulas too. Type an equals sign and an expression into a cell, say =[@Price]*0.2: the cell shows the result and a small fx mark. The text in a table has the same size and line spacing as the document’s paragraphs.

A table that calculates

  1. In the Documents panel press +, choose New file at the top level and as its kind Spreadsheet. You get a file that opens like an Excel sheet.
  2. Click into a cell and type. A formula starts with an equals sign, such as =B2*C2 or =SUM(B2:B9); the Czech =SUMA(B2:B9) works too.
  3. The row at the top shows the formula of the selected cell; the cells it reads from get a coloured frame.
The price list as a sheet. The formula of the selected cell at the top, the cells it reads from marked in the table.

The bar of a sheet has its own buttons:

In the appWhat it means
Header cellMakes the selected cells header cells, in bold. A column’s header is the place to set the number format, type and validation for every cell below.
Number format and TypeHow a number shows, and what kind of value the cell holds.
ValidationWhat values a cell may have; allowed values are separated by a semicolon, such as yes;no.
Total rowTurns the last row of the table into a row of totals or averages.
The clockCell history (⌘⇧H): who wrote what into the selected cell, and when.
  • A formula can use columns by name: in the picture =[@Net]+[@VAT] adds Net and VAT of the same row.
  • Functions can be written in Czech or in English: =SUMA(B2:B9) and =SUM(B2:B9).
  • Under the table are the sheets (in the picture “Services”); the plus adds another.
  • Holding Option (Alt) and pointing explains what you do not know, on the table’s buttons too.

Excel in and out

In: drag an .xlsx or .csv file onto the Documents panel, or use Import a document or spreadsheet… (see Import, export and sharing). The window Import a spreadsheet shows what it found: whether the first row is column names, the column separator and the decimal mark. Import turns it into a sheet.

Stuck? Write to svehl.jakub@gmail.com