Shapes linked to data

Show a spreadsheet’s columns on shapes and color them by a value.

Link a spreadsheet to a page to keep a diagram in step with a list: who owns each step, its status, a server’s address. Save the spreadsheet as CSV (the column names on the first row), then, with nothing selected, pick Style › Data › Link a spreadsheet.

Shapes are matched to rows by their words: the first line of a shape against the column picked under Match shapes by. To link one shape to another row, select it and pick the row in Style › Data, which also lists everything in its row.

Data settings picks the columns written under each linked shape’s words, and a column to color shapes by, with a color for each of its values.

Rules for the look, in Data settings, go further: When a column is, is not, contains, is more than or less than a value, or is empty, the shape takes a fill, an outline color, a dashed or dotted outline, or a badge (a few words in a colored pill on its corner). Rules are tried from the top and the first one a shape’s row matches wins, so put the most important first. More than and less than read numbers, even with a currency sign or commas.

Add a key to the page explains the rules and colors with a swatch for each. It fills itself in and follows the rules as they change; move it, resize it, rename it or delete it like any shape. Pictures, PDFs, draw.io and Visio files show the key and badges as you see them.

Diagrams from data: a column that names what each row joins to (Connects to, Next, Reports to, Depends on) draws the lines. Pick it under Draw lines from, and which way they run, then Draw from the data: each row gets a shape (one already on the page with its name is used), and the lines are drawn and laid out. Several names in one cell, split by commas, draw several lines. Org charts, process steps, system maps and task dependencies all work this way.

To start a whole diagram from a spreadsheet, Import it on Home (or drop the .csv there), or link one to an empty page. FlowCanvas guesses the column for lines from its name; change it in Data settings.

When the spreadsheet changes, Update brings in the new copy and keeps your choices. On a page drawn from the data it draws again: new rows and links are added next to what they join, and the shapes and lines it drew for rows and links that have gone are removed. Shapes you moved stay where you put them, and anything you drew by hand stays. Tidy lays everything out again whenever you want. Unlink takes the data off the page; shapes keep their own words and colors.

Pictures, PDFs, draw.io and Visio files show the data as you see it. The spreadsheet itself stays with the diagram in FlowCanvas.