workspace "Name" "Description" { !identifiers hierarchical model { u = person "User" ss = softwareSystem "Software System" { wa = container "Web Application" db = container "Database Schema" { tags "Database" } } u -> ss.wa "Uses" ss.wa -> ss.db "Reads from and writes to" } views { systemContext ss "Diagram1" { include * autolayout lr } container ss "Diagram2" { include * autolayout lr } styles { element "Element" { color #ffffff } element "Person" { background #d34407 shape person } element "Software System" { background #f86628 } element "Container" { background #f88728 } element "Database" { shape cylinder } } } configuration { scope softwaresystem } }
Structurizr DSL v3.1.0 - some features (e.g. !docs, !adrs, !script, etc) are unavailable via this page; see DSL - comparison for details.