sequence-diagram
Sequence Diagram Tool for Mac: By Hand, From Text, or With AI

To make a sequence diagram on a Mac, pick one of three routes: write text and let a tool such as PlantUML or Mermaid lay it out, use a browser-based editor, or draw it in a whiteboard app. Text tools give you automatic layout and formal UML. A drawing app gives you speed and freedom for informal diagrams.
What are the parts of a sequence diagram?
A sequence diagram shows who talks to whom, and in what order, during one scenario. It has a small set of parts:
- Participants. The boxes across the top. Each is a person, a service, a database, or a screen, such as Browser, API, or Database.
- Lifelines. The vertical lines running down from each participant. They represent that participant existing over time. Time moves from top to bottom.
- Messages. Horizontal arrows between lifelines. Each one is a call or a signal, such as
POST /login. The arrow points at the receiver. - Return messages. Arrows going back to the caller with a result, such as
200 OKoruser row. In formal UML these are dashed lines with an open arrowhead. - Activation bars. Thin rectangles laid over a lifeline. They show when a participant is busy handling a call.
- Frames (alt, loop, opt). A labeled rectangle drawn around a group of messages.
altmeans alternatives, like success versus failure.loopmeans the messages repeat.optmeans they happen only if a condition holds.
Three ways to make a sequence diagram on a Mac
| Route | How it works | Strengths | Trade-offs |
|---|---|---|---|
| Text-to-diagram (PlantUML, Mermaid, plain-text sequence diagram apps) | You write a short script and the tool lays out the diagram | Automatic layout, formal UML notation, easy to keep in version control | You learn a syntax, and visual control is limited |
| Browser-based editors | You build the diagram in a web page | Nothing to install, often easy to share | Needs a connection, and your content lives in a web service |
| Drawing app (a whiteboard) | You place boxes, lines and arrows yourself, or prompt an AI | Full control over layout and style, good for sketching and mixed diagrams | Manual spacing, no built-in UML rules |
None of these is the right answer for everyone. The question is whether you want the tool to own the layout or you do.
Text-to-diagram tools: PlantUML, Mermaid and similar
If you write sequence diagrams often, a text-based tool is the strongest option. You type something like Browser -> API: POST /login, and the tool draws the participants, lifelines, arrows and numbering for you. Insert a line in the middle and everything below it shifts down automatically.
The advantages are real:
- Automatic layout. You never nudge an arrow by hand.
- Formal UML notation. Dashed return arrows, activation bars, and alt/loop/opt frames come out in standard form.
- Diagrams as text. The source is easy to diff, review and store next to your code.
PlantUML and Mermaid are the two names most people meet. Mermaid is supported by a number of documentation and code-hosting platforms, and PlantUML has been around for a long time and is widely used. Setup varies, so check each project's documentation for how to run it on macOS.
The cost is that you are working in a syntax. Getting a custom look, adding a non-UML annotation, or sketching something half-formed on the same page can be awkward.
Drawing a sequence diagram in a whiteboard app
A general whiteboard is a different kind of tool. It does not know what a lifeline is. You build the diagram from boxes, straight lines and arrows, which is more manual but gives you complete control. It works well when the diagram is a sketch for a discussion, when you want to mix it with notes or screenshots, or when you only need one diagram and do not want to learn a syntax.
Canvos is a native macOS whiteboard and diagramming app, and it falls in this category. To be clear about the limits: it has no UML stencils, no automatic layout, and no import of PlantUML or Mermaid files. What it offers is rectangles, ellipses, diamonds, lines, arrows, text, an infinite canvas with a dot grid, and a hand-drawn rendering style. It also has an AI text-to-diagram feature, covered below.
How to draw a sequence diagram in Canvos
This walkthrough uses a login flow as the example.
- Open a new canvas and list your participants. Decide on four or five at most. For a login: Browser, API, Auth Service, Database. The dot grid is a handy visual guide for spacing them evenly.
- Draw the participant boxes. Use the rectangle tool to draw the first box near the top left, then add its name with the text tool. Copy and paste or duplicate it to make the others, and line them up across the top with equal gaps.
- Draw the lifelines. With the line tool, draw one straight vertical line down from the bottom of each box. Make them all the same length. Leave plenty of room, because each message needs its own row.
- Add the messages from top to bottom. With the arrow tool, draw the first message from the Browser lifeline to the API lifeline. Then draw the next one a little lower, and so on. Keep every message arrow horizontal.
- Label every arrow. Use the text tool to put the call name above each arrow, such as
POST /loginorverifyCredentials. Add a step number in front, like1. POST /login, so the order is obvious even if someone prints the diagram. - Draw the return messages. Draw an arrow back toward the caller and label it with what comes back, such as
2xx tokenoruser row. Canvos gives you a line and an arrow rather than a dashed UML style, so make returns clear by their label and direction. Starting each return label withreturn:is a simple convention. - Add activation bars if they help. Draw a narrow rectangle over a lifeline for the stretch where that participant is working. This is optional and often unnecessary in a rough diagram.
- Mark alt or loop sections. Draw a larger rectangle around the messages that belong together and write
alt [valid credentials]orloopin its top-left corner. Add a second label for the else branch if you need one. - Tidy up. Use the selection tool to move, resize and align anything that drifted. Undo and redo are there if a move goes wrong. Zoom out and check that the story reads from top to bottom without you explaining it.
Let AI draw the first draft, then tidy by hand
The fastest way to get a rough layout is to describe it. Canvos can turn a plain-English description into shapes, arrows and labels on the canvas. A prompt for the login flow could look like this:
Draw a sequence diagram of a login flow with four participants across the top: Browser, API, Auth Service, and Database. Each participant is a box with a vertical line below it. Messages from top to bottom: 1. Browser sends POST /login to API. 2. API sends verifyCredentials to Auth Service. 3. Auth Service sends findUser to Database. 4. Database returns user row to Auth Service. 5. Auth Service returns token to API. 6. API returns 200 OK with session cookie to Browser. Label every arrow with its number and name.
A few things to know before you try it:
- The AI builds the diagram from rectangles, ellipses, diamonds, text, arrows and lines. It is not a UML engine, so treat the result as a first draft.
- Expect to adjust spacing, fix an arrow that sits slightly off a lifeline, and shorten a label or two. Writing the order out numbered, as above, helps the draft come out in the right sequence.
- AI generation needs you to sign in with email or Google. There is no API key to set up. The free plan includes 20 AI generations per day, and Pro is $6 per month for 500 per day. See pricing for the current details.
- Drawing itself works fully offline. The network is used only for AI generation, sharing links and updates.
Export and keep the source
Export SVG for docs and PNG for tickets and slides. Keep the .canvos file as your editable source and export again when the flow changes.
Tips for a sequence diagram people can actually read
- Keep it to 4 or 5 participants. Past that, the diagram gets wide and the arrows get long. Split it into two diagrams instead.
- Order messages strictly top to bottom. Do not put two steps on the same row. Reading order should be the visual order.
- Label each arrow with the call name. Use the actual method, endpoint or event name, not "sends data."
- Number the steps. It lets people refer to "step 4" in a review or ticket without describing it.
- One scenario per diagram. Show the happy path first. Put errors in a separate diagram or in a single
altframe.
FAQ
What is the best sequence diagram tool for Mac?
It depends on how you work. If you want automatic layout and strict UML, a text-based tool such as PlantUML or Mermaid is the better fit. If you want to sketch freely or generate a draft with AI and adjust it, a whiteboard app like Canvos works well.
Can I make a sequence diagram without learning PlantUML or Mermaid?
Yes. You can draw one with boxes, lines and arrows in any drawing app, or describe it in plain English to an AI diagram feature. You trade automatic layout for not having to learn a syntax.
How do I show return messages in a sequence diagram?
In formal UML, return messages are dashed arrows pointing back to the caller. If your tool has no dashed style, draw a normal arrow back and label it clearly, for example return: 200 OK.
How many participants should a sequence diagram have?
Four or five is a good limit for readability. If you need more, split the scenario into two diagrams, such as one for authentication and one for the data request that follows.
Is Canvos a UML tool?
No. Canvos is a general whiteboard and diagramming app with no UML stencils or automatic layout. You can still draw a clear sequence diagram with its shapes, lines and arrows, or start from an AI draft.
Related reading
- How to generate a diagram from text with AI
- How to draw a system architecture diagram
- SVG vs PNG for diagrams
Next step
If you want to sketch a sequence diagram on your Mac without learning a syntax, try the login example above on a blank canvas. Download Canvos for free (macOS 14.6 Sonoma or later) and see how far a few boxes, lines and arrows get you.


