Sequence diagram guide
How to draw a sequence diagram on Mac
A sequence diagram shows who sends which message to whom, in time order. In Canvos you sketch it with rectangles for participants, vertical lines for lifelines and horizontal labelled arrows for messages. It is a sketch tool, so there is no UML engine behind it.
When to use a sequence diagram
- Explaining an API call chain, such as browser to gateway to service to database.
- Reviewing the order of events in an authentication or payment flow.
- Finding where a timeout or a retry belongs.
Which Canvos tools to use
| Canvos tool | Use it for |
|---|---|
| Rectangle | A participant at the top of each lifeline |
| Line | The lifeline running down from each participant |
| Arrow | A message, drawn left or right between two lifelines |
| Text | Message names, such as POST /orders, and notes |
| Rectangle (thin) | An activation bar, if you want to show who is working |
Steps
- Decide the participants and order them left to right by who starts the conversation.
- Draw a rectangle for each participant along the top and name it.
- Drop a vertical line from each rectangle to the bottom of the diagram.
- Draw one horizontal arrow per message, from top to bottom in time order, from sender to receiver.
- Label each arrow with the call or event, and add a return arrow where the answer matters.
- Group alternatives or loops with a labelled rectangle drawn around the affected messages.
Draft it with AI
Sign in with email or Google, open the AI prompt, and paste a description. Canvos draws shapes and arrows you can edit like anything else. Example prompt:
Sequence diagram. Participants left to right: Browser, API Gateway, Auth Service, Orders Service. Browser sends login request to API Gateway. API Gateway sends verify credentials to Auth Service. Auth Service returns token. API Gateway returns token to Browser. Browser sends create order with token to Orders Service.
The free plan includes 20 AI generations a day, and Pro ($6/month) raises that to 500. Treat the result as a first draft and check every arrow.
Tips
- Limit a diagram to about five participants and fifteen messages.
- Keep arrows horizontal and spaced evenly so the time order is obvious.
- Show the failure path in a second diagram instead of branching the first.
What Canvos does not do for this diagram
Canvos has no sequence-diagram mode: lifelines do not stretch, messages do not re-number and the diagram does not re-flow when you insert a message. A text-based tool such as Mermaid is better when the diagram must stay in sync with code. AI output for sequences is a rough sketch that needs tidying.
FAQ
Is Canvos a UML tool?
No. It is a hand-drawn whiteboard, and you can draw UML-style diagrams with its shapes, but it does not check UML rules.
Should I use Canvos or Mermaid for sequence diagrams?
Use Mermaid when the diagram lives in a repository and should be generated from text. Use Canvos for a quick visual sketch during a design discussion.
Can I edit the AI draft?
Yes. The AI places ordinary shapes, arrows and text, so you can move and relabel everything.