| layout | default |
|---|---|
| title | Example |
| parent | DSL |
| nav_order | 1 |
| permalink | /dsl/example |
As an example, the following DSL can be used to create a software architecture model and an associated view that describes a user using a software system.
workspace {
model {
u = person "User"
ss = softwareSystem "Software System"
u -> ss "Uses"
}
views {
systemContext ss {
include *
}
}
}
And the Structurizr browser-based renderer produces the following diagram.
