Flowgraph Studio vs PlantUML: Reviewing the conversation between services

Compare PlantUML and Flowgraph Studio for sequence diagrams, using a password-reset flow: text-first modelling, editing a Mermaid sequence on the canvas, and tracing a request from the code.

Comparisons · · 4 min read

Flowgraph Studio is our product. We've tried to describe the other tools fairly, from their own documentation as of November 2026.

Sequence diagrams matter because the order is often the bug. A response sent before the work is accepted, a callback drawn as if it were synchronous, or a retry drawn as a new request changes how readers understand the system.

A password reset is a good example. The diagram has to explain the work behind the scenes while keeping the public response the same for everyone. It's small enough to try in two tools, and important enough that every arrow label deserves care.

PlantUML and Flowgraph Studio approach that review with different languages and different ways of editing.

A user sends a request to an API, the API asks an accounts service to handle it, and the user receives a generic response
A simplified password reset. The response must not reveal whether an account exists.

Establish the public behaviour first

The user submits an email address. The web app asks the accounts service to handle the request. The accounts service sends an email only if a registered account exists. The user sees the same confirmation either way.

The diagram mustn't suggest that the response confirms an account exists. It should also separate accepting the request from delivering an email.

This is an example of communication, not a full security design. Rate limits, token handling, expiry and delivery belong in the implementation and its review. The sequence shows the part the surrounding document explains.

PlantUML: a detailed language for text-first teams

PlantUML's sequence diagram reference is extensive: participant types such as actor, database and queue; many arrow styles; notes; alt, opt, loop, par and critical groups; automatic numbering with custom formats; activation; dividers and delays. It runs as a Java program, through an online server, or from tools such as Asciidoc and Markdown plugins. The reset flow in PlantUML:

@startuml
actor User
participant "Web app" as W
participant Accounts as A
participant Mailer as M
User -> W: Request password reset
W -> A: Request reset
opt Registered account
  A -> M: Send reset email
end
A --> W: Request accepted
W --> User: Show generic confirmation
@enduml

That suits developers who like precise changes in source and already have a rendering pipeline. If the repository holds a mature set of PlantUML diagrams, moving one sequence to another language just for a different editor adds a second language and build path without solving a real problem.

Flowgraph: Mermaid sequences you can edit on the canvas

The same flow in Mermaid:

sequenceDiagram
  actor U as User
  participant W as Web app
  participant A as Accounts
  participant M as Mailer
  U->>W: Request password reset
  W->>A: Request reset
  opt Registered account
    A->>M: Send reset email
  end
  A-->>W: Request accepted
  W-->>U: Show generic confirmation

In Flowgraph Studio's Manual mode, you reorder participants by dragging them sideways, add a message by dragging from one lifeline to another, move a message up or down, and double-click to change its text. The code updates as you go. That helps when reviewers want to discuss the conversation itself rather than its syntax.

Flowgraph Studio's sequence editor in Manual mode, with the password-reset code on the left and the sequence diagram on the right, including the optional reset email
The conditional email and the generic confirmation in Flowgraph Studio's sequence editor.

For a handbook already written in Mermaid, it keeps one language across every diagram. Mermaid and PlantUML don't have identical syntax or features, so check any advanced construct you rely on before switching. The sequence diagram tutorial covers what Mermaid supports.

Flowgraph can also start a sequence from the code. On Pro and Pro Max, the AI request flow traces one request through a repository, such as POST /password-reset, and draws it as a numbered sequence diagram, with each participant linked to the files it was read from. It's approximate and shows one path with no error branches, so treat it as a first draft to check against the code. It uses 5 AI credits.

Review one new interaction

Add a delivery-status callback from the mailer. Ask where it belongs in time, and whether it changes the response the user already has.

In a useful sequence, the later event shouldn't look like a synchronous reply to the original request. If the full lifecycle gets crowded, make a second diagram for delivery and recovery rather than forcing every detail into the first.

Then change a message label to the wording in the service contract. Informal shorthand reads fine in a meeting but misleads when engineers implement against it. In Flowgraph, Compare with current in version history lines up the messages in order, so a reworded message shows as changed and a message moved to other participants as reconnected.

Stay with the language that serves the review

PlantUML is a strong choice for established text-first modelling, especially when you need its wider set of sequence constructs. Flowgraph Studio suits teams whose documentation is in Mermaid and whose reviewers benefit from editing the diagram directly, or from a first draft traced from the code.

The deciding question is who makes the next correction, and how they show it's right. Whichever you choose, make the order and the meaning of each message easy to check.

For architecture beyond one conversation, see Flowgraph Studio vs Structurizr.

More from the blog

Follow the blog by RSS