4 Comments

I've seen a few tools for diagram as code. For now I can remember gleek.io, and mermaid.live (for mermaid js).

Expand full comment

Try www.code2diagram.com and select any diagram you need. No setup or installation is required, just use a simple code to generate the best diagram.

Expand full comment

I have just published an article about Diagrams as Code at https://cloudnativeengineer.substack.com/p/enhancing-software-design-with-diagrams where I describe the differences between PlantUML and Mermaid.

I explore in great details what you can achieve with PlantUML with examples showing Kubernetes services, Sequence diagrams, and AWS network diagrams.

Expand full comment
Jul 22, 2022·edited Jul 22, 2022

C4 models (https://c4model.com/) are pretty great for what they do: Model software systems at both high and low levels. Using the c4-plantuml open source git project, you can generate diagrams from the models-as-code.

Expand full comment