]> arthur.barton.de Git - netdata.git/commitdiff
split diagrams to config and actual diagram info
authorCosta Tsaousis <costa@tsaousis.gr>
Mon, 17 Oct 2016 17:45:40 +0000 (20:45 +0300)
committerCosta Tsaousis <costa@tsaousis.gr>
Mon, 17 Oct 2016 17:45:40 +0000 (20:45 +0300)
.gitignore
Makefile.am
diagrams/build.sh
diagrams/config.puml [new file with mode: 0644]
diagrams/registry.puml

index e914a1a86a74eac734644c58b915557bc47f3080..30962eaa59f0337cfb97cbe369fd8788702526d4 100644 (file)
@@ -91,6 +91,7 @@ profile/benchmark-registry
 *.pyc
 
 diagrams/*.png
+diagrams/*.svg
 diagrams/*.atxt
 diagrams/plantuml.jar
 
index 3153ff0646ca546d10c5096a02900050460cac28..8b4bc8376906902079a6c5484be743c92fea2ef9 100644 (file)
@@ -39,6 +39,7 @@ SUBDIRS = \
        $(NULL)
 
 dist_noinst_DATA= \
+       diagrams/config.puml \
        diagrams/registry.puml \
        configs.signatures \
        Dockerfile \
index 2adebfd2c957bbaf9e0077cceaf8620a486ebccd..53f0ea7ab69ecca2d62aa281abc00812c7d7b510 100755 (executable)
@@ -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 (file)
index 0000000..0ce0932
--- /dev/null
@@ -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
+}
+
index 5c68f69506aa79464acb0ca3c48aa7375f73fd7d..51a337fab77e221d32c4c678775a66cdf0071e93 100644 (file)
@@ -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