Flowgraph Studio vs Visio: Keeping Azure diagrams close to the code

Compare Visio and Flowgraph Studio for an Azure invoice workflow: the Azure Diagrams template, Mermaid with Azure icons, drawing from Terraform, and who maintains it.

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.

An invoice API returns success, but the invoice is still waiting to be processed. That one distinction gets lost in an architecture diagram that draws the API, the queue, the worker and the database as a row of identical Azure icons.

The editor matters because someone has to keep that distinction true when the implementation changes. Visio offers a familiar drawing file with Azure shapes. Flowgraph Studio offers Mermaid with Azure icons, for a diagram that can live beside the application.

An invoice API sends accepted work to Azure Service Bus, a Functions worker processes it, and failed work has a separate dead-letter path
An example invoice workflow. Accepting a job and completing an invoice are different events.

The diagram has to explain acceptance

The API accepts an invoice job onto an Azure Service Bus queue. A Functions worker processes it and records the result. The response to the caller means the job was accepted, not that the invoice is finished.

flowchart TB
  client([Client]) -->|submit invoice| api[Invoice API]
  api -->|202 Accepted| client
  api -->|enqueue| bus["@icon:azure:service-bus **Invoice queue** | sub:Service Bus"]
  bus --> fn["@icon:azure:function-apps **Process invoice** | sub:Azure Functions"]
  fn -->|store result| db[("@icon:azure:sql-database **Invoices** | sub:Azure SQL")]
  bus -.->|delivery limit reached| dlq[Dead-letter subqueue]

Draw those as separate responsibilities. The queue-to-worker arrow is consumption. The worker-to-database arrow is a result. The dead-letter path marks work that needs investigating once delivery attempts run out.

Keep the retry policy and the operator's steps in the runbook. The drawing tells a reader where to look; the text says what to do.

Visio: an established drawing workflow

Microsoft's support page on creating Azure diagrams in Visio describes an Azure Diagrams template "with over twenty stencils and hundreds of shapes", for compute, networking, security, storage, databases, identity and more. It's in the desktop app with Visio Plan 2 and in Visio for the web with Plan 1 or Plan 2; the page notes that Azure diagrams aren't available in Visio in Microsoft 365.

Visio makes sense when architects hand over native drawing files, reviewers expect to edit those files, and the Azure diagram is part of a wider set of formal architecture documents. Don't abandon a review process that works just because another tool stores its graph as text.

For the invoice flow, decide who owns the drawing and where the approved revision is kept. If code changes arrive through Git and architecture changes through a separate document process, connect the two review steps on purpose.

Flowgraph: a diagram that lives with the repository

In Flowgraph Studio, the same flow starts as Mermaid. The code says what connects to what; the official Azure icons and their subtitles name the services, so the picture doesn't rely on icon recognition alone. The Rich node builder finds icons by name and writes the line for you. Manual mode arranges the boxes, and the positions are saved in a comment that Flowgraph reads and other Mermaid tools ignore. The Azure guide builds a similar job-processing example.

Flowgraph Studio showing the invoice flow: Invoice API, an Invoice queue on Azure Service Bus, an Invoice function on Azure Functions, an invoice database, and a dead-letter subqueue reached when the delivery limit is hit
The invoice flow in Flowgraph Studio, with acceptance drawn apart from background processing.

Because it's text, the diagram can change in the same pull request as the queue configuration or the worker code. A new dead-letter destination shows up as a changed relationship in the Mermaid, with a fresh image for the people reading the design document.

If the infrastructure is in Terraform, Flowgraph can draw it for you. Import the repository from Azure DevOps (or GitHub, GitLab or Bitbucket) and each Terraform folder becomes a diagram: a node per resource with its Azure icon, and an arrow wherever one resource refers to another. Azure Pipelines YAML is drawn as a pipeline too. Most organisations keep their Azure DevOps projects private; private repositories need Pro or Pro Max, and the connection is read-only.

Saving a file in Git doesn't make it correct, though. Someone still owns the diagram and knows which changes need it updated. A review status with an owner and an interval helps.

Review the arrow that sends people the wrong way

Ask an engineer what a successful API response proves. If they say "the invoice is done", the image or its caption needs work.

Then ask where they'd look when the worker keeps failing. The dead-letter path should be visible, and the runbook beside it should explain investigation and recovery. Don't draw an automatic return from the dead-letter subqueue to the main queue unless that's really built.

That's a more useful review than checking that every Azure service in the subscription has an icon on the page.

Let the maintained file decide

Choose Visio when the deliverable must be a Visio drawing and your organisation already reviews them well. Choose Flowgraph Studio when the Mermaid should travel with application changes, and the image is an output of that source.

For the second, start with the invoice path in Flowgraph Studio, keep the acceptance boundary explicit, and export the layout the runbook will use.

For AWS, the same questions come up in Flowgraph Studio vs Mermaid Chart.

More from the blog

Follow the blog by RSS