The Structurizr DSL (as mentioned on the ThoughtWorks Tech Radar - Techniques - Diagrams as code) allows you to create multiple diagrams based upon the C4 model, in multiple output formats, from a single DSL source file. Some features are unavailable on this demo page - we recommend signing up for a free account and/or using the Structurizr CLI.

!docs, !adrs, !include, logo, icon are only available via the CLI
workspace "Getting Started" "This is a model of my software system." { model { user = person "User" "A user of my software system." softwareSystem = softwareSystem "Software System" "My software system." user -> softwareSystem "Uses" } views { systemContext softwareSystem "SystemContext" "An example of a System Context diagram." { include * autoLayout } styles { element "Software System" { background #1168bd color #ffffff } element "Person" { shape person background #08427b color #ffffff } } } }
Structurizr
Diagram
Structurizr
Graph
Export
PlantUML
Export
C4-PlantUML
Export
Mermaid
Export
DOT
Export
WebSequenceDiagrams
Export
Ilograph