split diagrams to config and actual diagram info
Costa Tsaousis committed
Oct 17, 2016 at 20:45 UTC
9d979931e59a15dfa8157058a5265395ddb0e94b
5 files changed
+52
-45
.gitignore
+1
@@ -91,6 +91,7 @@ profile/benchmark-registry
91
*.pyc
92
93
diagrams/*.png
94
+diagrams/*.svg
95
diagrams/*.atxt
96
diagrams/plantuml.jar
97
Makefile.am
+1
@@ -39,6 +39,7 @@ SUBDIRS = \
39
$(NULL)
40
41
dist_noinst_DATA= \
42
+ diagrams/config.puml \
43
diagrams/registry.puml \
44
configs.signatures \
45
Dockerfile \
diagrams/build.sh
+3
@@ -11,7 +11,10 @@ fi
11
12
for x in *.puml
13
do
14
+ [ "${x}" = "config.puml" ] && continue
15
+
16
echo >&2 "Working on ${x}..."
17
java -jar plantuml.jar -tpng "${x}"
18
+ java -jar plantuml.jar -tsvg "${x}"
19
# java -jar plantuml.jar -ttxt "${x}"
20
done
diagrams/config.puml
new
+46
@@ -0,0 +1,46 @@
1
+
2
+skinparam handwritten true
3
+skinparam monochrome true
4
+skinparam roundcorner 15
5
+
6
+skinparam sequence {
7
+ ArrowThickness 3
8
+
9
+ DividerFontColor Black
10
+ DividerFontName Comic Sans MS
11
+ DividerFontSize 15
12
+ DividerFontStyle Italic
13
+
14
+ DelayFontColor Black
15
+ DelayFontName Comic Sans MS
16
+ DelayFontSize 15
17
+ DelayFontStyle Italic
18
+
19
+ TitleFontColor Black
20
+ TitleFontName Comic Sans MS
21
+ TitleFontStyle Italic
22
+ TitleFontSize 25
23
+
24
+ ArrowColor DeepSkyBlue
25
+ ArrowFontColor Black
26
+ ArrowFontName Comic Sans MS
27
+ ArrowFontStyle Regular
28
+ ArrowFontSize 19
29
+
30
+ ActorBorderColor DeepSkyBlue
31
+
32
+ LifeLineBorderColor blue
33
+ LifeLineBackgroundColor #A9DCDF
34
+
35
+ ParticipantBorderColor DeepSkyBlue
36
+ ParticipantBackgroundColor LightBlue
37
+ ParticipantFontName Comic Sans MS
38
+ ParticipantFontSize 20
39
+ ParticipantFontColor Black
40
+
41
+ ActorBackgroundColor aqua
42
+ ActorFontColor Black
43
+ ActorFontSize 20
44
+ ActorFontName Comic Sans MS
45
+}
46
+
diagrams/registry.puml
+1
-45
@@ -1,49 +1,5 @@
1
@startuml
2
-
3
-skinparam handwritten true
4
-skinparam monochrome true
5
-skinparam roundcorner 15
6
-
7
-skinparam sequence {
8
- ArrowThickness 3
9
-
10
- DividerFontColor Black
11
- DividerFontName Comic Sans MS
12
- DividerFontSize 15
13
- DividerFontStyle Italic
14
-
15
- DelayFontColor Black
16
- DelayFontName Comic Sans MS
17
- DelayFontSize 15
18
- DelayFontStyle Italic
19
-
20
- TitleFontColor Black
21
- TitleFontName Comic Sans MS
22
- TitleFontStyle Italic
23
- TitleFontSize 25
24
-
25
- ArrowColor DeepSkyBlue
26
- ArrowFontColor Black
27
- ArrowFontName Comic Sans MS
28
- ArrowFontStyle Regular
29
- ArrowFontSize 19
30
-
31
- ActorBorderColor DeepSkyBlue
32
-
33
- LifeLineBorderColor blue
34
- LifeLineBackgroundColor #A9DCDF
35
-
36
- ParticipantBorderColor DeepSkyBlue
37
- ParticipantBackgroundColor LightBlue
38
- ParticipantFontName Comic Sans MS
39
- ParticipantFontSize 20
40
- ParticipantFontColor Black
41
-
42
- ActorBackgroundColor aqua
43
- ActorFontColor Black
44
- ActorFontSize 20
45
- ActorFontName Comic Sans MS
46
-}
2
+!include config.puml
3
4
title netdata registry operation
5
actor "web browser" as user