Diagrams as Code

A diagram with a source file can be reviewed, compared, reused and checked like code. This six-part series is the practical how: what a text source changes and which tool families fit which need, one model rendering many C4 views, a worked Archify walkthrough, architecture review in the pull request, reconciling the model with infrastructure code, inventories and traces, and letting AI agents write diagram sources under validation, inventory reconciliation and named human sign-off. It follows Mopane Medical Scheme, a fictional Gqeberha medical scheme with a three-person architecture team; its systems and figures are illustrative. Throughout, it separates what tooling proves, that a diagram is well formed, from what only evidence and review can establish: that it is true.

6 articles

Working through any of this in your own organisation?

These articles come out of delivery work rather than theory. If the problems in this series look familiar, a short scoping conversation is usually the quickest way to work out what is worth doing first.

Talk to CloudNala