> ## Documentation Index
> Fetch the complete documentation index at: https://iso-topology.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Open-source architecture diagram tools: choose a workflow

> Compare visual canvases, diagrams as code, C4 modeling, and editable isometric diagrams. Choose by the next change you need to make.

Open-source architecture diagram tools include draw\.io and Excalidraw for visual authoring; Mermaid, D2 and PlantUML for text-driven diagrams; Diagrams for Python-defined infrastructure; Structurizr DSL for C4 models; and iso-topology for editable isometric or top-down architecture scenes. Choose by the document you want to maintain and the next change you need to make.

This guide is written by the iso-topology maintainers. The descriptions below are based on the linked official documentation, checked December 3, 2026. This is a workflow guide, not a performance ranking or a hands-on benchmark of every listed tool. [Read in Chinese](https://iso-topology.mintlify.site/zh/guides/open-source-architecture-diagram-tools.md).

## Start with the work, then choose the tool

| What you need to maintain | A candidate to evaluate | What to check before adopting it |
| - | - | - |
| A diagram arranged directly on a canvas | [draw.io / diagrams.net](https://www.drawio.com/) | Keep the editable diagram file, not only an exported image; check your preferred storage integration. |
| A sketch used in a design discussion | [Excalidraw](https://github.com/excalidraw/excalidraw) | Decide how the team will retain the scene and turn an informal sketch into maintained documentation. |
| Text diagrams inside documentation | [Mermaid](https://mermaid.js.org/) | Confirm which syntax/version the actual documentation host renders; integrations differ. |
| A declarative graph rendered by a local CLI | [D2](https://d2lang.com/) | Try the intended layout engine and retain the D2 source; an exported SVG is not the authoring document. |
| Infrastructure assembled with Python code | [Diagrams](https://diagrams.mingrammer.com/docs/getting-started/installation) | Its local workflow requires Python and Graphviz; include the rendering dependencies in CI. |
| A C4 architecture model | [Structurizr DSL](https://docs.structurizr.com/dsl) | Model the system boundaries first; choose the viewing/export workflow for the model. |
| UML, component, deployment or sequence diagrams in text | [PlantUML](https://plantuml.com/) | Choose the relevant diagram type and rendering setup rather than treating every architecture view as one format. |
| Isometric/top-down scenes with source edits and local agent tools | [iso-topology](https://iso-topology.mintlify.site/concepts/features-and-limits.md) | Keep YAML, inspect the rendered relationships, and test whether fixed projections suit the audience. |

A public GitHub repository alone does not establish an open-source license for every product component. For example, the [current tldraw SDK license page](https://tldraw.dev/community/license) describes the SDK as source available and specifies production licensing requirements. Check the exact component and version you intend to use, including hosted services and extensions.

## When is iso-topology a useful candidate?

Consider it when an isometric or top-down architecture illustration is part of the requirement, the editable source must remain in Git, and both an agent and a visual editor need to continue working on that source. YAML supports composition, styling and source-preserving edits. The local MCP server exposes discovery, validation, evaluation, repair, rendering, snapshot and preview tools. See [MCP setup](https://iso-topology.mintlify.site/agent/MCP.md) and the [recorded workflow evidence](https://iso-topology.mintlify.site/agent/evaluation.md).

Choose another workflow when native Markdown rendering is the decisive requirement, a C4 model is the primary document, or the team mainly needs a free-form discussion canvas. iso-topology does not replace those workflows merely because it can draw nodes and edges. It is not a live multi-user whiteboard, and its exported SVG is not a complete embedded editor.

For dense technical relationships, compare the top-down view with the isometric view before publishing. A valid source file and a visually attractive image do not establish that the architecture is correct or every arrow is readable.

## Evaluate the next edit, not only the first screenshot

Use the same small task for your shortlisted tools:

1. Represent User → API → Database and retain the editable source.
2. Add Cache and an API → Cache connection.
3. Rename API to Public API through the intended everyday editing workflow.
4. Reopen the saved source and add Worker without losing the rename or existing connections.
5. Export, inspect arrow directions and labels at the destination size, then reproduce the image from a clean checkout.

Record setup effort, editing friction, source changes, rendering dependencies and whether the result can be reproduced. If an agent is involved, require it to read the latest source before the next change. Do not assume that text input automatically provides reliable agent handoff, or that a canvas file is impossible to version-control.

The [maintainer-run comparison](https://iso-topology.mintlify.site/agent/evaluation.md) contains actual iso-topology, Mermaid and D2 artifacts and limitations. Its results should not be extended to untested tools, clients or environments.

## Try a concrete task

[Open the browser playground](https://nexusfox88.github.io/iso-topology/) to edit a Go service, RAG pipeline or MCP starter without installing. It runs the drawing engine locally in the tab, supports YAML up to 40 nodes / 64 KiB, and exports both source and SVG. It makes no model calls. The initial compressed engine download is about 9 MB; the full local Studio offers a broader editing workflow.

For complete source examples, use [RAG](https://iso-topology.mintlify.site/examples/rag-pipeline.md), [ClickHouse](https://iso-topology.mintlify.site/examples/clickhouse-architecture.md) or [LangChain](https://iso-topology.mintlify.site/examples/langchain-agent-architecture.md). To keep the resulting diagram current, follow the [source-to-CI publishing workflow](https://iso-topology.mintlify.site/getting-started/05-publishing.md).

Before choosing a renderer, [choose the architecture view](https://iso-topology.mintlify.site/guides/choose-architecture-view.md): context, logical containers, deployment instances, or a request scenario answer different questions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.