Flowgraph Studio vs GitLab Mermaid: Keeping runbook diagrams consistent

GitLab draws Mermaid in wikis and repository files. When one diagram appears in several runbooks, decide which copies stay current and which stay fixed. How GitLab and Flowgraph Studio help.

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.

A diagram copied into three runbooks becomes three maintenance tasks. The first copy gets updated after a service is renamed. The second is fixed during an incident. The third still shows a component that no longer exists.

GitLab's Mermaid support keeps diagrams editable inside documentation, but repeated content still needs an owner and a plan. Flowgraph Studio offers another way to author and publish, especially when the same picture must appear outside GitLab.

The real choice is whether those copies should be independent snapshots or views of one maintained diagram.

A reviewed incident flow reused in several runbooks, with a distinction between a fixed release snapshot and a living shared image.
Decide whether each page should keep a release's version or show the latest approved diagram.

GitLab is a practical home for repository documentation

GitLab Flavored Markdown draws Mermaid from a mermaid code block. GitLab treats text as GitLab Flavored Markdown in comments, issues, epics, merge requests, milestones, snippets, wiki pages, releases and Markdown files in repositories. (PlantUML and Kroki diagrams are supported too, though on GitLab Self-Managed an administrator has to turn them on.)

That makes a Mermaid block a good fit for a runbook whose changes are reviewed with the service. Authors change the graph and the troubleshooting steps together:

flowchart TD
  A[Alert fires] --> ACK{Acknowledged within 10 minutes?}
  ACK -->|Yes| TRIAGE[On-call engineer triages]
  ACK -->|No| SEC[Page the secondary on-call]
  SEC --> TRIAGE
  TRIAGE --> IMPACT{Customers affected?}
  IMPACT -->|Yes| LEAD[Declare an incident and name a lead]
  IMPACT -->|No| TICKET[Open a ticket for the owning team]
  LEAD --> STATUS[Update the status page]

For a small, self-contained runbook, that may solve the whole problem. There's no image to export every time a label changes.

The trouble starts when the same definition is pasted into several documents. Native rendering doesn't give those copies a shared way to stay in step.

Decide whether "current" is the right promise

An incident escalation overview might belong in an onboarding page, an operations wiki and a release-specific guide. The first two need the latest approved flow. The release guide may need the version that applied to that release.

Those are different publishing promises. Replacing every copy with a changing image can damage the historical record as easily as freezing every copy leaves documentation stale.

Write down the intended behaviour before choosing how to share. A caption such as "Current escalation flow" makes a different promise from "Escalation flow for release 4.2".

Flowgraph Studio can publish one diagram to many places

Flowgraph Studio edits the same Mermaid, with Manual mode for layout, and it handles both promises:

  • Current. A share link (Pro and Pro Max) is one published version that every page points to. You get Markdown and HTML image snippets for GitLab or any wiki, or an interactive embed. After a change, Update link republishes it, and every embedded copy shows the new version. Access can be anyone with the link, everyone, or only invited people, though invited-only links can't be embedded.
  • Fixed. For a release guide, export a PNG or SVG and commit it with the Mermaid it came from. In Flowgraph Studio, Save version keeps a named version, such as "Release 4.2", until you delete it, on every plan, Free included.

The diagrams can also come from GitLab itself. Importing a GitLab project reads its Compose files, Kubernetes manifests, Terraform, .gitlab-ci.yml, SQL migrations and more, including projects in subgroups, and draws each as an editable diagram. Private projects work on Pro and Pro Max.

The tool doesn't decide which promise each page needs. Make that decision in your documentation process.

Try a rename and a change in behaviour

Two revisions show whether a workflow works. First, rename a service without changing its role. Then add a new escalation step, such as paging the secondary on-call when nobody acknowledges.

The rename tests the mechanics of updating every intended page. The new step tests whether the instructions around the diagram need changing too. A current image inside outdated text is still a misleading runbook.

For the new step, check the owner, the action and the condition. Readers shouldn't have to guess who acts or when. In Flowgraph Studio, owners and review status record who looks after a diagram and flag it as changed since its last review.

Keep the source easy to find

Native GitLab Mermaid fits diagrams that belong to one repository document. Flowgraph Studio helps when a diagram needs deliberate layout and has to be published to several places. If your repositories are on GitHub, see Flowgraph Studio vs GitHub Mermaid.

Either way, link to the maintained source, or say how to contribute, near the documentation. The best shared diagram isn't simply the one that updates everywhere. It's the one whose update behaviour matches what each reader was promised.

More from the blog

Follow the blog by RSS