Skip to main content

Structurizr

Structurizr creates C4 architecture views from a workspace model.

Use this type​

Use Structurizr when one model must produce multiple software architecture views.

Source format​

The source format is Structurizr DSL. Enter the source in the diagram.zip editor.

Syntax essentials​

  • Put the model and views in a workspace block.
  • Declare people, systems, containers, and components in the model.
  • Declare relationships in the model.
  • Select elements and layout rules in each view.

Example​

workspace {
model {
user = person "User"
app = softwareSystem "diagram.zip"
user -> app "Creates diagrams"
}
views {
systemLandscape { include *; autolayout lr }
}
}

The rendered view uses a complete project example for this diagram type.

Rendered exampleDrag to pan. Use the wheel or controls to zoom.
100%
This view uses the live diagram.zip renderer.

Upstream reference​

Structurizr documentation