Diagrams as Code

Bertil Muth
Feb 28 · 3 min read

Diagrams as code is a term used for storing the source of a diagram image as a text file. Examples include architecture diagrams, or diagrams showing a system’s behavior or design.

A generator tool like PlantUML then generates an image from the text. According to the ThoughtWorks Technology Radar, a key benefit is that you can use version control on the text files.