Diagrams as code 2.0
summary
Argues that a single model file drives multiple C4 diagrams so diagrams stay in sync, not separate text files. Demonstrates the structurizer DSL and Structurizer Light Docker image generating system context and container views, exporting to PlantUML, Mermaid and JSON (which stores manual layout), plus interactive D3 force graphs and ilograph visualizations. Shows implicit relationships, theme/styles, JSR223 scripting and export to PNG/SVG. The tooling runs and produces consistent diagrams from one source of truth.
AI-written summary · about
chapters (12)
- 0:00Introduction to diagrams as code
- 2:55C4 model overview
- 7:07Diagrams as code 1.0
- 8:54Moving to models as code
- 10:58Structurizer DSL demo
- 17:40Styling and diagram keys
- 20:50Exporting to other formats
- 22:59Handling large architectures
- 26:31Deployment diagrams with AWS icons
- 27:35Scripting and automation
- 29:20Diagrams as data
- 30:23Closing thoughts and Q&A
