| layout | default |
|---|---|
| title | Defaults |
| parent | DSL |
| nav_order | 4 |
| permalink | /dsl/defaults |
The DSL is designed to be as compact as possible. The following DSL fragment will automatically:
- Create the implied relationship
between the
userandsoftwareSystemelements. - Create a default set of views (1 x System Landscape, 1 x System Context, 1 x Container - all with auto-layout enabled, see ViewSet.createDefaultViews()).
workspace {
model {
user = person "User"
softwareSystem = softwareSystem "Software System" {
webapp = container "Web Application"
database = container "Database"
}
user -> webapp "Uses"
webapp -> database "Reads from and writes to"
}
}