summaryrefslogtreecommitdiffstats
path: root/diagrams
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@tsaousis.gr>2016-10-17 20:45:40 +0300
committerCosta Tsaousis <costa@tsaousis.gr>2016-10-17 20:45:40 +0300
commit9d979931e59a15dfa8157058a5265395ddb0e94b (patch)
treea7addc58ce37207a857c67863d797a8e02162cbb /diagrams
parentdffd3b4edb8c7de3c4b68c6c7822d92d13e50ed4 (diff)
split diagrams to config and actual diagram info
Diffstat (limited to 'diagrams')
-rwxr-xr-xdiagrams/build.sh3
-rw-r--r--diagrams/config.puml46
-rw-r--r--diagrams/registry.puml46
3 files changed, 50 insertions, 45 deletions
diff --git a/diagrams/build.sh b/diagrams/build.sh
index 2adebfd2c9..53f0ea7ab6 100755
--- a/diagrams/build.sh
+++ b/diagrams/build.sh
@@ -11,7 +11,10 @@ fi
for x in *.puml
do
+ [ "${x}" = "config.puml" ] && continue
+
echo >&2 "Working on ${x}..."
java -jar plantuml.jar -tpng "${x}"
+ java -jar plantuml.jar -tsvg "${x}"
# java -jar plantuml.jar -ttxt "${x}"
done
diff --git a/diagrams/config.puml b/diagrams/config.puml
new file mode 100644
index 0000000000..0ce0932f53
--- /dev/null
+++ b/diagrams/config.puml
@@ -0,0 +1,46 @@
+
+skinparam handwritten true
+skinparam monochrome true
+skinparam roundcorner 15
+
+skinparam sequence {
+ ArrowThickness 3
+
+ DividerFontColor Black
+ DividerFontName Comic Sans MS
+ DividerFontSize 15
+ DividerFontStyle Italic
+
+ DelayFontColor Black
+ DelayFontName Comic Sans MS
+ DelayFontSize 15
+ DelayFontStyle Italic
+
+ TitleFontColor Black
+ TitleFontName Comic Sans MS
+ TitleFontStyle Italic
+ TitleFontSize 25
+
+ ArrowColor DeepSkyBlue
+ ArrowFontColor Black
+ ArrowFontName Comic Sans MS
+ ArrowFontStyle Regular
+ ArrowFontSize 19
+
+ ActorBorderColor DeepSkyBlue
+
+ LifeLineBorderColor blue
+ LifeLineBackgroundColor #A9DCDF
+
+ ParticipantBorderColor DeepSkyBlue
+ ParticipantBackgroundColor LightBlue
+ ParticipantFontName Comic Sans MS
+ ParticipantFontSize 20
+ ParticipantFontColor Black
+
+ ActorBackgroundColor aqua
+ ActorFontColor Black
+ ActorFontSize 20
+ ActorFontName Comic Sans MS
+}
+
diff --git a/diagrams/registry.puml b/diagrams/registry.puml
index 5c68f69506..51a337fab7 100644
--- a/diagrams/registry.puml
+++ b/diagrams/registry.puml
@@ -1,49 +1,5 @@
@startuml
-
-skinparam handwritten true
-skinparam monochrome true
-skinparam roundcorner 15
-
-skinparam sequence {
- ArrowThickness 3
-
- DividerFontColor Black
- DividerFontName Comic Sans MS
- DividerFontSize 15
- DividerFontStyle Italic
-
- DelayFontColor Black
- DelayFontName Comic Sans MS
- DelayFontSize 15
- DelayFontStyle Italic
-
- TitleFontColor Black
- TitleFontName Comic Sans MS
- TitleFontStyle Italic
- TitleFontSize 25
-
- ArrowColor DeepSkyBlue
- ArrowFontColor Black
- ArrowFontName Comic Sans MS
- ArrowFontStyle Regular
- ArrowFontSize 19
-
- ActorBorderColor DeepSkyBlue
-
- LifeLineBorderColor blue
- LifeLineBackgroundColor #A9DCDF
-
- ParticipantBorderColor DeepSkyBlue
- ParticipantBackgroundColor LightBlue
- ParticipantFontName Comic Sans MS
- ParticipantFontSize 20
- ParticipantFontColor Black
-
- ActorBackgroundColor aqua
- ActorFontColor Black
- ActorFontSize 20
- ActorFontName Comic Sans MS
-}
+!include config.puml
title netdata registry operation
actor "web browser" as user