C4 Models as Code
summary
Presents a practical model-as-code workflow: author a single Structurizr DSL workspace (people, systems, containers), render with Structurizr Lite, export via CLI exports to PlantUML/Mermaid/Graphviz or generate navigable HTML. Demonstrates automatic layout and editable coordinates, styles/tags and auto-generated diagram keys, implied relationships to avoid duplication, workspace extensions for team catalogs, and JVM/.NET/TypeScript APIs to augment models from live AWS/Azure code. Examples compile and render reliably and support scaling to many microservices.
AI-written summary · about
chapters (14)
- 0:00C4 models as code intro
- 1:05What is C4 model hierarchy
- 4:52Problems with diagramming tools
- 7:43Diagrams as code and C4 PlantUML
- 10:10Structurizr DSL and modeling
- 11:12Demo of Structurizr Light
- 17:08System context and container diagrams
- 21:01Exporting diagrams and tools
- 24:13Structurizr Site Generator tools
- 28:47Handling complexity in systems
- 33:17Graphviz for hierarchical data
- 34:45Programmatic Structurizr integration
- 37:13Team collaboration extensions
- 40:23Summary and Structurizr start
related talks
01h 00mC4 models as code
54mC4 models as code
51mDiagrams as code 2.0
01h 00mVisualise, document and explore your software architecture
57mVisualise, document and explore your software architecture
45mSet your data free with model-based architecture diagramming
34mDiagram as Code - Decoding Architectural Diagrams
44mAutomate your software design How far we can get and how the AI chan
