-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworkspace.dsl
84 lines (65 loc) · 2.19 KB
/
workspace.dsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
workspace "Top" {
!docs docs/
model {
System = softwareSystem "System" "" {
!docs docs/system/
Container1 = container "Container 1"
Container2 = container "Container 2" {
!docs docs/system/container
Component1 = component "Component 1"
Component2 = component "Component 2" {
!docs docs/system/container/component
}
}
}
CustomElement = element "Custom Element"
Container1 -> Container2
Container2 -> customElement
Component1 -> Component2
Component2 -> customElement
}
views {
systemlandscape "SystemLandscape" {
include *
autoLayout
}
container System {
include *
autoLayout
}
component Container2 {
include *
autoLayout
}
styles {
element "customElement" {
color #ffffff
fontSize 22
shape Folder
}
element "Container" {
background #999999
}
element "Software System" {
background #999999
color #ffffff
}
}
properties {
structurizr.sort "created"
structurizr.tooltips "true"
structurizr.enterpriseBoundary "true"
// Generatr
"c4plantuml.elementProperties" "true"
"generatr.markdown.flexmark.extensions" "Abbreviation,Admonition,AnchorLink,Attributes,Autolink,Definition,Emoji,Footnotes,GfmTaskList,GitLab,MediaTags,Tables,TableOfContents,Typographic"
}
}
// see https://github.com/structurizr/dsl-plugins/tree/main/src/main/java/com/structurizr/dsl/plugins/plantuml for plugin source
!plugin plantuml.PlantUMLEncoderPlugin {
"plantuml.url" "https://www.plantuml.com/plantuml"
}
// see https://github.com/structurizr/dsl-plugins/tree/main/src/main/java/com/structurizr/dsl/plugins/mermaid for plugin source
!plugin mermaid.MermaidEncoderPlugin {
"mermaid.url" "https://mermaid.ink"
}
}