Creating software architecture diagrams from a textual definition ("diagrams as code") is becoming more popular, but if you have a collection of related diagrams, it's easy to introduce inconsistencies if you don't keep the many diagram source files in sync.
This cookbook is a tutorial guide to the Structurizr DSL, an open source tool for creating diagrams as code from a single consistent model. This cookbook assumes that you're using the diagram renderer provided by the Structurizr cloud service, the Structurizr on-premises installation, or Structurizr Lite. Please note that some features (e.g. perspectives, element style shapes/icons, etc) may not be supported if you're using one of the PlantUML/Mermaid/D2/DOT/etc export formats provided by the Structurizr CLI and the structurizr-export library.
- Introduction
- Workspace
- Workspace extension
- Implied relationships
- System Context view
- Container view
- Container view (spanning multiple software systems)
- Component view
- Shared components
- Image view
- Filtered view
- Dynamic view
- Dynamic view with parallel sequences
- Deployment view
- Amazon Web Services
- Deployment groups
- Element styles
- Relationship styles
- Themes
- Groups
- Perspectives
- Scripts
- DSL and code (hybrid usage pattern)