Docs / Prompts

Business process diagram with owners: what an AI agent drew

For anyone who needs a process drawn with an owner on every step, this page records one run of an AI agent doing it with open-diagram. Both drafts passed the check. The one change, to the key, came from reading the picture.

Updated

What was asked?

The user typed one sentence:

Draw this business process from order to delivery, with an owner on every step.

Hollin & Pike is an invented company that makes furniture to order and sells it online. The user gave these steps, tasks and owners:

StepTasksOwner
Order placedWebsite order, phone orderSales team
Payment checkedCard payment, bank transferFinance team
Made to orderCut timber, assemble, finishWorkshop lead
Quality checkInspect finish, photo recordWorkshop lead
PackedWrap and box, print labelWarehouse team
DeliveredBook a slot, two-person deliveryNone named yet

Pieces that fail the quality check go back to the workshop.

What did the first draft get wrong?

Nothing the check measures: it reported 0 layout problem(s).

Following the agent skill, each step is a column with a step number, and each owner is a footer. Delivery reads "Owner: Not yet named", the wording the agent skill gives when the user names no owner. The line back to the workshop runs backwards, so it goes through a lane below the picture ("lane": "bottom").

One fault lay outside the check: the key. open-diagram's default key shows "Live" for any box without a state, and "Data flows today" for any solid line. Here the arrows pass work from step to step.

{
  "title": "Hollin & Pike: from order to delivery",
  "subtitle": "Every step of a made-to-order piece, with its owner",
  "columns": [
    [{"id": "order", "title": "Order placed", "step": 1, "tiles": ["Website order", "Phone order"], "cols": 1,
      "footer": "Owner: Sales team"}],
    [{"id": "pay", "title": "Payment checked", "step": 2, "tiles": ["Card payment", "Bank transfer"], "cols": 1,
      "footer": "Owner: Finance team"}],
    [{"id": "make", "title": "Made to order", "step": 3, "tiles": ["Cut timber", "Assemble", "Finish"], "cols": 1,
      "footer": "Owner: Workshop lead"}],
    [{"id": "qc", "title": "Quality check", "step": 4, "tiles": ["Inspect finish", "Photo record"], "cols": 1,
      "footer": "Owner: Workshop lead"}],
    [{"id": "pack", "title": "Packed", "step": 5, "tiles": ["Wrap and box", "Print label"], "cols": 1,
      "footer": "Owner: Warehouse team"}],
    [{"id": "deliver", "title": "Delivered", "step": 6, "tiles": ["Book a slot", "Two-person delivery"], "cols": 1,
      "footer": "Owner: Not yet named"}]
  ],
  "links": [
    {"from": "order", "to": "pay"},
    {"from": "pay", "to": "make"},
    {"from": "make", "to": "qc"},
    {"from": "qc", "to": "pack", "label": "passed"},
    {"from": "pack", "to": "deliver"},
    {"from": "qc", "to": "make", "lane": "bottom", "label": "fails check"}
  ]
}
Hollin & Pike: from order to delivery

The check: 0 layout problems

What changed between drafts?

The agent added "legend": false, which removes the key; the step numbers and arrows already give the order. At the time of the run, the agent skill's list of top-level JSON fields left out legend, and the agent found it in the JSON reader, src/open_diagram/spec.py. The skill has listed it since November 25, 2026.

What was the result?

Two rounds: two drafts, two runs of the check, 0 layout problems each time, in a picture 1,640 by 439 pixels.

{
  "title": "Hollin & Pike: from order to delivery",
  "subtitle": "Every step of a made-to-order piece, with its owner",
  "legend": false,
  "columns": [
    [{"id": "order", "title": "Order placed", "step": 1, "tiles": ["Website order", "Phone order"], "cols": 1,
      "footer": "Owner: Sales team"}],
    [{"id": "pay", "title": "Payment checked", "step": 2, "tiles": ["Card payment", "Bank transfer"], "cols": 1,
      "footer": "Owner: Finance team"}],
    [{"id": "make", "title": "Made to order", "step": 3, "tiles": ["Cut timber", "Assemble", "Finish"], "cols": 1,
      "footer": "Owner: Workshop lead"}],
    [{"id": "qc", "title": "Quality check", "step": 4, "tiles": ["Inspect finish", "Photo record"], "cols": 1,
      "footer": "Owner: Workshop lead"}],
    [{"id": "pack", "title": "Packed", "step": 5, "tiles": ["Wrap and box", "Print label"], "cols": 1,
      "footer": "Owner: Warehouse team"}],
    [{"id": "deliver", "title": "Delivered", "step": 6, "tiles": ["Book a slot", "Two-person delivery"], "cols": 1,
      "footer": "Owner: Not yet named"}]
  ],
  "links": [
    {"from": "order", "to": "pay"},
    {"from": "pay", "to": "make"},
    {"from": "make", "to": "qc"},
    {"from": "qc", "to": "pack", "label": "passed"},
    {"from": "pack", "to": "deliver"},
    {"from": "qc", "to": "make", "lane": "bottom", "label": "fails check"}
  ]
}
Hollin & Pike: from order to delivery

The check: 0 layout problems

Drawn by Claude Opus 5.5 on November 25, 2026, with open-diagram 0.6.2's check command, the same check the MCP server's check tool runs.

See also