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 #048c04 shape person } element "Software System" { background #047804 } element "Container" { background #55aa55 } element "Database" { shape cylinder } } } configuration { scope softwaresystem } }
Structurizr DSL v3.2.0 - some features (e.g. !docs, !adrs, !script, etc) are unavailable via this page; see DSL - comparison for details.