Change a chart

Ask the assistant to change, review or explain a flowchart, and see what it does with yours.

Once a flowchart has elements, you can ask the assistant to change it, review it or explain it.

Ask for a change

Point at what should change and say how:

  • "Add a step to check the receipt before the manager approves."
  • "After three failed tries, alert the on-call engineer."
  • "Put the warehouse steps in a frame."
  • "Turn this into a UML activity diagram."

For small changes, the assistant edits only what you asked about. The rest keeps its ids, so your comments stay on their shapes. To have most of a chart redone, say so.

To point at particular shapes, select them on the canvas before you send. Or type @ and pick them from the list, which has shapes in the order the code writes them, then frames.

Use a command

Type / at the start of the message box to pick a command. Each one fills in a request for you to read over and send. See Commands.

CommandWhat it asks for
/reviewReview the flow: decisions with a missing answer, dead ends, loops with no way out, and anything that would confuse a reader, and fix what's plainly wrong
/fixFix the issues the checks found
/explainExplain the flow in plain words, for a new team member
/errorsAdd what can go wrong: failed checks, retries and timeouts, each from the decision where it happens
/draftDraft a flowchart you describe

On a chart that already has shapes, the starting points above the message box are Review this flowchart and Explain it. A fix for the issues the checks found joins them when there are any, and Add what can go wrong when the chart has a decision.

What it does with your chart

  • Drafting or redoing most of it: it writes the whole chart as Mermaid and replaces the chart with it.
  • Smaller changes: it applies a batch of small edits to shapes, arrows and frames. If one edit in a batch fails, none apply.
  • Checking its work: after every change it gets the checks back. It fixes errors and real problems before it finishes.
  • Bringing in PlantUML: give it a PlantUML activity diagram and it writes it as Mermaid, saying what a flowchart can't show.

The change card shows each change as a diff of the Mermaid code. It ends with a short summary of what it drew or changed, what it assumed, and one or two things you might add next.

Your team's context

The business context and your learnings work here as in every kind. The assistant reads the learnings meant for every diagram and those for flowcharts.

A flowchart has no roles or systems of its own, so it adds nothing to the Model. See How context works.

On this page