PlantUML definitions are available via the Structurizr CLI export command,
using the -format plantuml
parameter.
C4-PlantUML definitions are available via the Structurizr CLI export command,
using the -format plantuml/c4plantuml
parameter.
Mermaid definitions are available via the Structurizr CLI export command,
using the -format mermaid
parameter. Your Mermaid configuration will need to include "securityLevel": "loose"
to render this definition correctly.
WebSequenceDiagram definitions are available via the Structurizr CLI export command,
using the -format websequencediagrams
parameter. Only dynamic views are supported.
Coming soon: DOT definitions will be available via the Structurizr CLI export command,
using the -format dot
parameter.
Ilograph definitions are available via the Structurizr CLI export command,
using the -format ilograph
parameter. A single Ilograph export contains the model and all views.
resources: - id: "1" name: "User" subtitle: "[Person]" backgroundColor: "#08427b" color: "#ffffff" - id: "2" name: "Software System" subtitle: "[Software System]" backgroundColor: "#1168bd" color: "#ffffff" children: - id: "3" name: "Web Application" subtitle: "[Container]" backgroundColor: "#438dd5" color: "#ffffff" - id: "4" name: "Database" subtitle: "[Container]" backgroundColor: "#438dd5" color: "#ffffff" perspectives: - name: Static Structure relations: - from: "1" to: "2" label: "Uses" - from: "1" to: "3" label: "Uses" - from: "3" to: "4" label: "Reads from and writes to"
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.