Structurizr DSL
Compatible with Structurizr DSL
Workspace-based C4 architecture modelling. Define `softwareSystem`, `container`, `component` and `person` once, then declare multiple `views` (systemContext, container, deployment) over the same model. The canonical way to keep architecture documentation in sync across diagrams.
In the same space
Most users come to Structurizr DSL from Structurizr Cloud or Lucidchart C4. Glyph runs this engine in the browser — no install, shareable via URL, exportable to PNG / SVG / PDF / source.
Syntax at a glance
workspace { model { user = person "User"; sys = softwareSystem "X" { web = container "Web App" } user -> web "Uses" } views { container sys { include * autolayout } } }Paste this in the Studio code pane to see Structurizr DSL render live. The full grammar is at the upstream-docs link above.
Sample templates
All 11 →Adapted from the canonical Structurizr 'Big Bank plc' example — customers, internet banking system and the mainframe it talks to.
Container-level view of a SaaS product — web app, API, async worker, Postgres, object storage, plus a third-party billing system.
Edge devices → MQTT broker → ingest → time-series database → dashboards. The classic IoT shape, in C4.
Customer-facing SaaS with web, API, queue and DB.
Classic C4 banking system with mobile and web channels.
Devices → MQTT → stream processor → warehouse.
structurizr · ← Browse all engines · Quick-start guide