Flowgraph Studio vs Kroki: Choosing a diagram rendering service
Kroki renders many diagram languages behind one endpoint. Flowgraph's render API renders Mermaid with the theme, icons and layout set in the editor. Which does your documentation need?
Flowgraph Studio is our product. We've tried to describe the other tools fairly, from their own documentation as of November 2026.
A documentation team inherits three kinds of diagram: Mermaid in the service runbooks, PlantUML in the API specifications, and Graphviz in a dependency report. At the same time, the company wants its public architecture diagrams to share one recognisable style.
Both requirements end in images, so they sound alike. They lead to different choices. Kroki is built for a collection of diagram languages. Flowgraph Studio's render API is built for Mermaid, drawn the way you set it up in the editor.

One endpoint for a mixed stack
Kroki's architecture page describes a gateway server that is "the entry point of Kroki". It renders many diagram libraries itself, such as PlantUML, Graphviz and Vega-Lite, and passes others to companion services that run as their own containers. Mermaid is one of those companions, alongside BPMN, Excalidraw and diagrams.net.
Kroki's home page says it is free and open source under the MIT licence. There is a free hosted service at kroki.io, and you can run it yourself. Diagrams are sent with a GET request, with the source compressed into the URL, or with a POST request carrying the source as it is.
That is a good fit when several teams already use different notations. The documentation system gets one way to render everything, and nobody has to rewrite their diagrams.
Each language still keeps its own rendering and configuration. One endpoint doesn't make every image share the same fonts, sizes or layout. Your handbook still needs its own rules for those.
One look for a Mermaid series
Now take a different requirement. Ten Mermaid diagrams must match the design team's approved example: the same theme, the same cloud icons, and boxes placed where the author put them.
In Flowgraph Studio, you set that up once in the editor and export the theme as a JSON file. The render API takes the Mermaid file and the theme file and returns an SVG or PNG:
curl --fail-with-body https://flowgraph.studio/v1/render \
-H "Authorization: Bearer $FLOWGRAPH_API_KEY" \
-F "diagram=@request-path.mmd;type=text/plain" \
-F "theme=@theme.json;type=application/json" \
-F "format=svg" \
--output request-path.svg
The output keeps what the editor added on top of Mermaid: rich nodes and icons, and positions set by hand in Manual mode. Other Mermaid renderers, Kroki's included, ignore the layout comment and lay the diagram out automatically, and they don't know Flowgraph's icon syntax.
The render API draws Mermaid only. If the handbook also needs PlantUML or Graphviz, Flowgraph won't render those.
You can still style ordinary Mermaid in other renderers through Mermaid's own configuration. Choose Flowgraph for its editor-to-export path, not because other renderers can't apply colours.
Same graph, different picture
A Mermaid file describes the same relationships in every tool, but it can look different in each. The renderer version, the fonts, the configuration and any tool-specific extensions all change the image.
That doesn't matter when a runbook only needs the graph's meaning. It matters when an annotation depends on where a box sits, or when a published series needs to look like a set.
Test it. Take one real diagram and render it through the pipeline you're considering. Check the longest labels, the group boundaries and any arrows that loop back. Then rename a component and render again. You'll see quickly which parts of the picture depend on manual work the pipeline doesn't reproduce.
Decide what happens when rendering fails
Rendering is a small part of a build, but a failure should have a clear outcome. Decide it before you need it:
flowchart TB
src[Mermaid source] --> render[Render]
render --> ok{Rendered?}
ok -->|yes| check[Check the image]
ok -->|no, invalid diagram| stop[Fail the build]
ok -->|no, service error| retry[Retry once]
retry --> render
check --> publish[Publish]Flowgraph's API helps here. Invalid Mermaid returns 422 with the reason, a busy key returns 429, and a rendering fault returns 502, which is worth one retry. POST /v1/validate checks a diagram without drawing it. Free accounts get 50 renders a month with a small watermark, Pro 5,000 and Pro Max 20,000, and failed renders aren't counted.
With a hosted service, plan for keys and usage limits. With a self-hosted Kroki, plan for deployment, updates and the companion containers. Either way, a successful response isn't the whole check: the image must still be readable where it's published.
Choose the scope you need
Kroki is a practical choice for a documentation platform with several established diagram languages, especially if you want to host the renderer yourself. Flowgraph Studio is a practical choice for Mermaid diagrams whose look is set in its editor and reused in publishing.
Large organisations may use both. A shared renderer serves the internal handbook, while a smaller set of public diagrams goes through one editor and one theme.
If you're choosing a command-line renderer instead of a service, see Flowgraph Studio vs Mermaid CLI.
More from the blog
- Flowgraph Studio vs Mermaid Chart: AI assistants editing MermaidBoth let Claude, Cursor and VS Code sign in and change your Mermaid diagrams over MCP. Compare how each checks the work, guards a diagram someone just edited, and undoes a change.
- Flowgraph Studio vs Canva: Turning a technical post into a carouselCanva and Flowgraph Studio both make carousels. How they differ when you turn an approved technical post into a carousel and an infographic, and keep both right after a correction.
- Flowgraph Studio vs Cloudcraft: Drawing the AWS architecture you plan to buildCloudcraft shows the AWS environment you have; a design review is about the one you plan to build. How both tools fit a target-state proposal, with observed and intended kept apart.