-
Notifications
You must be signed in to change notification settings - Fork 9
/
plantuml-ae-style.iuml
302 lines (232 loc) · 6.16 KB
/
plantuml-ae-style.iuml
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
/'
@file plantuml-style.iml
@desc: styles for PlantUML files
Note that styles can be nested multiple times
There seems to be a problem if some styles for an entity are nested and some aren't.
Usage:
- to include this within a .puml file, use the _!include_ directive:
!include <filename>
!include plantuml-ae-style.iuml
@author: Ashley Engelund ([email protected] weedySeaDragon @ github)
@since 2016-10-24
@see http://plantuml.com/skinparam
'/
'.............................
' Layout and General settings:
!define DEFAULT_BACKGROUND_COLOR white
!define DEFAULT_BORDER_COLOR #111111
!define DEFAULT_FONT Helvetica
!define DEFAULT_FONT_SIZE 11
!define DEFAULT_FONT_COLOR #111111
!define DEFAULT_NOT_SO_DARK #666666
!define TITLE_FONT_SIZE 18
skinparam componentStyle uml2
skinparam defaultFontName DEFAULT_FONT
skinparam defaultTextAlignment center
skinparam handwritten false
skinparam monochrome false
skinparam shadowing false
skinparam BackgroundColor white
skinparam HyperlinkColor #0000DD
skinparam Default {
FontColor DEFAULT_FONT_COLOR
FontName DEFAULT_FONT
FontSize DEFAULT_FONT_SIZE
FontStyle plain
}
skinparam GenericArrow {
FontColor #666666
'FontName courier
FontSize 12
FontStyle italic
}
skinparam title {
FontColor black
FontName DEFAULT_FONT
FontSize TITLE_FONT_SIZE
FontStyle plain
}
skinparam legend {
BackgroundColor white
BorderColor DEFAULT_NOT_SO_DARK
FontColor black
FontName DEFAULT_FONT
FontSize 10
}
skinparam header {
FontColor DEFAULT_NOT_SO_DARK
FontName DEFAULT_FONT
FontSize 9
FontStyle plain
}
skinparam Footer {
FontColor DEFAULT_NOT_SO_DARK
FontSize 12
FontName DEFAULT_FONT
FontStyle italic
}
'.............................
' entities
/' ..............
Classes
'/
skinparam class {
BackgroundColor DEFAULT_BACKGROUND_COLOR
BorderColor DEFAULT_BORDER_COLOR
TextAlignment left
Arrow {
FontStyle normal 'this has no effect. it is ruled by the "activity Arrow"
BackgroundColor DEFAULT_BACKGROUND_COLOR
BorderColor DEFAULT_BORDER_COLOR
BorderColor DEFAULT_NOT_SO_DARK
FontColor SlateBlue
FontSize 10
}
}
skinparam package {
BackgroundColor DEFAULT_BACKGROUND_COLOR
BorderColor SteelBlue
FontSize 14
}
/' ..............
Activities
'/
' problem: activityArrowColor is changed by usecaseArrowColor
skinparam activity {
Arrow {
Color DEFAULT_NOT_SO_DARK
'FontColor DEFAULT_NOT_SO_DARK
FontSize 12
FontStyle italic
}
BackgroundColor white
BorderColor DEFAULT_BORDER_COLOR
' have to specify the background color and border color for Diamond
' it does not pick up the default for activity.
' maybe because it is defined? have to define everything for it?
Diamond {
FontStyle italic ' this is all we really want to change
BackgroundColor DEFAULT_BACKGROUND_COLOR
BorderColor DEFAULT_BORDER_COLOR
BorderColor DEFAULT_NOT_SO_DARK
FontColor DEFAULT_FONT_COLOR
FontSize 14
}
'EndColor red
FontSize 13
StartColor DEFAULT_NOT_SO_DARK
}
skinparam note {
FontSize 18
FontStyle italic
FontColor DEFAULT_FONT_COLOR
BackgroundColor white
BorderColor white
}
/' ..............
Sequences
'/
skinparam sequence {
Arrow {
Color black
'FontColor
'FontName
'FontSize
'FontStyle
Thickness 1
}
Box {
LineColor black
BackgroundColor white
BorderColor DEFAULT_NOT_SO_DARK
FontColor DEFAULT_FONT_COLOR
FontSize 11
FontStyle plain
}
Divider {
BackgroundColor white
BorderColor DEFAULT_NOT_SO_DARK
BorderThickness 1
FontColor DEFAULT_NOT_SO_DARK
' FontSize
FontStyle italic
}
Group {
BackgroundColor white
BodyBackgroundColor white
BorderColor DEFAULT_BORDER_COLOR
BorderThickness 2
Header {
FontStyle bold
}
}
LifeLine {
BackgroundColor white
BorderColor navy
BorderThickness 1
}
'NewpageSeparatorColor
Participant {
BackgroundColor white
BorderColor navy
BorderThickness 1
FontColor navy
FontSize 12
}
Reference {
BackgroundColor white
BorderColor DEFAULT_NOT_SO_DARK
BorderThickness 1
'FontSize
'HeaderBackgroundColor
}
Stereotype {
' FontColor
' FontName
' FontSize
' FontStyle
}
Title {
FontColor black
FontSize TITLE_FONT_SIZE
'FontStyle
}
}
/' ..............
Swimlane
'/
skinparam swimlane{
BorderColor DEFAULT_BORDER_COLOR
TitleFontSize TITLE_FONT_SIZE
}
skinparam Component {
ArrowColor blue
BackgroundColor white
BorderColor DEFAULT_BORDER_COLOR
FontColor DEFAULT_FONT_COLOR
}
skinparam State {
ArrowColor DEFAULT_BORDER_COLOR
'AttributeFontStyle
BackgroundColor DEFAULT_BACKGROUND_COLOR
BorderColor DEFAULT_BORDER_COLOR
EndColor red
StartColor green
}
skinparam Object {
ArrowColor blue
' Attribute {
' FontColor
' FontName
' FontSize
' FontStyle
' }
BackgroundColor white
BorderColor DEFAULT_BORDER_COLOR
BorderThickness 1
}
skinparam Usecase {
ArrowColor DEFAULT_NOT_SO_DARK
BackgroundColor white
BorderColor DEFAULT_BORDER_COLOR
}