How it works

What the assistant does with your diagram, how to follow its work, and how it uses your team's context.

The assistant doesn't draw. It changes the diagram's structure with a small set of tools. The app then lays out the result the same way it does for your own edits.

What it does with your diagram

  • Drafting or restructuring. It writes the whole diagram in the kind's code and replaces the diagram with it. The code is Flowmark for a process, sequence code for a sequence diagram, schema code for an ER diagram and Mermaid for a flowchart.
  • Smaller changes. It applies a batch of small edits, such as adding a step or relabeling a flow. If one edit in a batch fails, none of them apply. Elements keep their ids, so the parts you didn't ask about stay as they were.
  • Reading first. It reads the current diagram before editing when its copy might be out of date. That way it picks up changes you made by hand.
  • Checking its work. After every change it gets the modeling checks back. It fixes errors and real problems before it finishes.
  • Answering your comments. It reads the open comments on the diagram, with the elements they're on and their replies. It can reply in a thread, and resolve one once it has done what it asks. Its reply says it came from the assistant, and Undo brings back a thread it resolved.
  • Reading the history. It can list the diagram's versions and say what changed since one of them, as Compare with now does. In an ER diagram it also gives the migration SQL that Compare copies. Restoring stays in Version history.
  • Reading your other diagrams. It can read any diagram you can open: your own, and the ones shared with your org. So it can follow a link or a called process, or check a process against its sequence diagram. It changes only the diagram you have open.
  • Looking things up. It can look up the app's guidance for the kind it's working on: the kind's code, its style, and reference diagrams for common subjects. Each kind's page says what it has.

It can also change the layout in the ways the canvas menu does: set the spacing, tidy up, put back one thing you moved, and set the detail level. For a process, see The assistant for processes.

Ask for the diagram in another format, such as "give me the PostgreSQL SQL" or "the Mermaid for this", and it gives you exactly what Export would download. In an ER diagram it can also give the JOIN between two tables that Copy JOIN writes.

Follow its work

Each request and what came of it is a turn in the panel. Under your request, the assistant lists its steps as it works, such as Read the diagram, Edited the diagram, Looked up guidance and Modeling checks. Each step shows how long it took.

When the model shares its reasoning, a Thinking step shows the latest of it. Afterwards it reads "Thought for" a number of seconds, and you can expand it.

When the turn ends, the steps fold into one line, such as "Worked for 9s · 5 steps". You can expand it again.

The assistant ends with a short answer saying what it changed and what it assumed. Names of elements in the answer, such as steps, participants or tables, are links. Point to one to highlight it on the canvas, and select it to select it there.

When an answer is about part of the diagram, such as the steps a role does, the assistant lights those elements and the rest fades. The canvas brings them into view, zooming out if they don't fit. Ask it to walk you through a process, a sequence diagram or a flowchart, and it starts Walk through for you to step through.

When a turn changes the diagram, a change card shows what changed. See Review changes.

Your team's context

The assistant reads your team's business context, learnings and Model with every request. See How context works.

Teach it your business

Write your rules, limits and how work moves once in Business context, and the assistant reads them with every request.

When you correct it on something that holds beyond this diagram, it offers to remember the rule as a learning. A Remember this? card appears under its answer. Nothing is saved until you select Save. See Learnings.

Use your team's names

The Model holds your team's roles, systems and data, and the assistant draws with those names.

After each change, it gets a warning for any element whose name isn't in the Model, with the closest entry. That covers lanes, pools, participants, data and tables. When the element is the same thing as an entry, the assistant uses the entry's name instead.

When a name is new to the business, the assistant offers it on an Add to the Model? card under its answer, with a line on what it is.

  • When it offers several, untick the ones you don't want.
  • Select Add, which counts the ticked names, or Dismiss. Nothing is added until you choose.
  • Afterwards, View on the card opens the Model.

The Model goes to the same providers as your business context. When the selected model's provider doesn't get it, the assistant says so once and doesn't warn about names. See The Model.

On this page