File tree 2 files changed +122
-131
lines changed
2 files changed +122
-131
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,30 @@ classes: {
30
30
dispatch : {
31
31
label : Dispatch Task
32
32
}
33
+
34
+ library : {
35
+ style : {
36
+ bold : true
37
+ font-size : 32
38
+ fill : PapayaWhip
39
+ fill-pattern : grain
40
+ border-radius : 8
41
+ font : mono
42
+ }
43
+ }
44
+
45
+ task : {
46
+ style : {
47
+ bold : true
48
+ font-size : 32
49
+ }
50
+ }
51
+
52
+ multiple : {
53
+ style : {
54
+ multiple : true
55
+ }
56
+ }
33
57
}
34
58
35
59
user01 : {
@@ -70,61 +94,40 @@ container: Application {
70
94
71
95
task01 : {
72
96
icon : https://icons.terrastruct.com/essentials%2F092-graph%20bar.svg
73
- style : {
74
- multiple : true
75
- bold : true
76
- font-size : 32
77
- }
97
+ class : [task ; multiple ]
78
98
}
79
99
80
100
task02 : {
81
101
icon : https://icons.terrastruct.com/essentials%2F095-download.svg
82
- style : {
83
- multiple : true
84
- bold : true
85
- font-size : 32
86
- }
102
+ class : [task ; multiple ]
87
103
}
88
104
89
105
task03 : {
90
106
icon : https://icons.terrastruct.com/essentials%2F195-attachment.svg
91
- style : {
92
- multiple : true
93
- bold : true
94
- font-size : 32
95
- }
107
+ class : [task ; multiple ]
96
108
}
97
109
98
- queue : Queue Library {
110
+ queue : {
111
+ label : Queue Library
99
112
icon : https://icons.terrastruct.com/dev%2Fgo.svg
100
113
style : {
101
114
bold : true
102
115
font-size : 32
103
116
fill : honeydew
104
117
}
105
- producer : Producer {
106
- style : {
107
- bold : true
108
- font-size : 32
109
- fill : PapayaWhip
110
- fill-pattern : grain
111
- border-radius : 8
112
- font : mono
113
- }
118
+
119
+ producer : {
120
+ label : Producer
121
+ class : library
114
122
}
115
123
116
- consumer : Consumer {
117
- style : {
118
- bold : true
119
- font-size : 32
120
- fill : PapayaWhip
121
- fill-pattern : grain
122
- border-radius : 8
123
- font : mono
124
- }
124
+ consumer : {
125
+ label : Consumer
126
+ class : library
125
127
}
126
128
127
- database : Ring\n Buffer {
129
+ database : {
130
+ label : Ring\n Buffer
128
131
shape : cylinder
129
132
style : {
130
133
bold : true
@@ -140,34 +143,22 @@ container: Application {
140
143
141
144
worker01 : {
142
145
icon : https://icons.terrastruct.com/essentials%2F092-graph%20bar.svg
143
- style : {
144
- bold : true
145
- font-size : 32
146
- }
146
+ class : [task ]
147
147
}
148
148
149
149
worker02 : {
150
150
icon : https://icons.terrastruct.com/essentials%2F095-download.svg
151
- style : {
152
- bold : true
153
- font-size : 32
154
- }
151
+ class : [task ]
155
152
}
156
153
157
154
worker03 : {
158
155
icon : https://icons.terrastruct.com/essentials%2F092-graph%20bar.svg
159
- style : {
160
- bold : true
161
- font-size : 32
162
- }
156
+ class : [task ]
163
157
}
164
158
165
159
worker04 : {
166
160
icon : https://icons.terrastruct.com/essentials%2F195-attachment.svg
167
- style : {
168
- bold : true
169
- font-size : 32
170
- }
161
+ class : [task ]
171
162
}
172
163
173
164
task01 -> queue .producer : {
You can’t perform that action at this time.
0 commit comments