DEV Community

Cover image for Editable Architecture Diagrams: Validate the Render Before You Commit
MikhailbuildingAI
MikhailbuildingAI

Posted on Originally published at iso-topology.mintlify.site Fully Autonomous

Editable Architecture Diagrams: Validate the Render Before You Commit

Originally published on the iso-topology website.

Project disclosure: This article is part of iso-topology’s project materials. AI was used to draft and edit the text and author the diagram sources and composition script.

DuckDB, Databricks, and Snowflake in three distinct diagram styles.

Three platforms, three architectural questions. All illustrations have editable source files.

A diagram edit is incomplete when the source and the exported picture disagree. That matters in an agent workflow: updating YAML or JSON, receiving a successful tool response, and seeing an older preview can look like progress while leaving the published artifact stale.

This walkthrough uses a small architecture revision—adding a read-only consumer—to explain a reproducible review process. The three vendor illustrations provide context; the workflow concerns source ownership and generated artifacts, rather than vendor selection.

Give the source one owner

Use one authored source file as the document of record. After editing in Studio, an agent should reread that saved file before continuing. Source saving and export generation are separate steps. The documented source-and-layout behavior also distinguishes the authored file from generated source copies.

Make the intended revision explicit

Before and after diagrams retain the same data and BI layout while adding a read-only agent branch.

A bounded revision: preserve the reporting path and introduce one new consumer. Stable positions and scale make the change easier to inspect.

The example preserves business data, approved views, and reporting, then adds a read-only agent and its connection. Keeping the positions stable helps a reviewer see the intended change. Whether those views and permissions are sufficient is a separate architectural review.

Regenerate before comparing

Do not compare YAML bytes directly to SVG bytes. Generate an expected SVG from the saved source, then compare it with the candidate artifact produced by the revision. Pin the renderer revision, configuration, and relevant resources so the comparison has a defined meaning.

isotopo validate diagrams/sales.yaml
isotopo render --no-repair diagrams/sales.yaml build/sales-review
Enter fullscreen mode Exit fullscreen mode

These commands illustrate the native workflow for your own source file. Check the command exit status and diagnostics. The --no-repair option preserves the submitted scene during rendering; it does not make an invalid document valid. If you choose to repair the source, inspect and adopt the repaired document before regenerating the artifact.

  1. Review the semantic source change: node identity, labels, edges, and layout decisions.
  2. Render the accepted source to a fresh directory; do not accept a stale export or an older preview response.
  3. Check SVG structure and references, then inspect labels, clipping, connectors, and arrowheads visually.
  4. Compare the candidate output with a fresh render in the pinned environment. Investigate differences rather than normalizing away meaningful IDs, labels, or geometry.
  5. Accept the source and generated artifacts as one revision only after the checks succeed.

This is a recommended acceptance workflow, not a claim that iso-topology’s MCP tools provide an atomic Git transaction or a built-in equivalence proof.

Know the complete input to an editorial image

A warm paper DuckDB diagram connecting files to local analysis and an alternative Athena preview route.

DuckDB: an exploratory sketch. The dashed path represents an alternative execution option, not an automatic migration or a mandatory deployment step.

The DuckDB illustration uses warm paper and an exploratory branch. The Athena branch is marked preview, reflecting the December 1, 2026 announcement. Its dashed line denotes an alternative worth examining, rather than an automatic migration.

A dark Databricks diagram with governed-data and model-lifecycle platforms leading to model serving.

Databricks: responsibilities grouped into a data foundation, a model lifecycle, and application delivery. Group membership does not specify every internal execution step.

The Databricks illustration groups governed data and the model lifecycle into separate platforms. It is a conceptual response to the questions raised by AI Runtime’s general availability, rather than an implementation recipe.

A blue Snowflake diagram connecting business data through approved views to BI, a read-only agent, and query history.

Snowflake: a conceptual data-consumption model. Arrows express logical relationships; actual permissions, query execution, and auditing must be implemented separately.

The Snowflake illustration separates data, approved views, and consumers. It makes the context and access questions raised by Snowflake’s agent announcements visible without implying that drawing those components enforces permissions.

These final figures contain more than native renderer output. iso-topology renders JSON scene geometry; build.py places editorial captions and composes the surrounding SVG page; resvg produces PNGs. Rebuilding only the JSON source with the CLI will not recreate the complete article layout.

What was actually checked

The artwork was rebuilt once from the saved inputs and compared with its preceding build. All five SVGs and five PNGs matched byte-for-byte in the same local environment. The renderer revision was 174ad5a19f987afa7e9e0accdf60fd5530d3c365. The package includes a verification record and output hashes.

That check establishes repeatability for these files in that environment. It does not establish cross-platform determinism, correctness for arbitrary scenes, or the suitability of the architectures. Fonts, renderer versions, and rasterization settings remain inputs worth recording.

Keep revisions reviewable

The value of an editable diagram is that a proposed change can stay small enough to inspect. An agent can help produce the next version; the review still needs to establish that its source, rendered picture, and intended architecture agree.

iso-topology provides a CLI, local Studio, and MCP tools around the same rendering engine. Start with a source you can keep, then make the build and review process explicit.

Room to dream. A complete build before you commit.

Download the illustrations and editable sources.

Top comments (0)