Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 906 Bytes

File metadata and controls

32 lines (25 loc) · 906 Bytes
layout default
title Defaults
parent DSL
nav_order 4
permalink /dsl/defaults

Defaults

The DSL is designed to be as compact as possible. The following DSL fragment will automatically:

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"
    }

}