summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-01-31 16:27:50 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-01-31 16:27:50 -0500
commit1b20e896d3ca0f51579d7982a1f8ce3939aae937 (patch)
treec4c9379a2714342b4469fcc20ea502fa7c7c9486
parent2249ff17986ea5dc9fe25845a51c25ff27daee58 (diff)
Transform Diagram01.png into graphviz
-rw-r--r--docs/.gitignore2
-rw-r--r--docs/Makefile3
-rw-r--r--docs/SystemModel.dot63
-rw-r--r--docs/stickman.pngbin0 -> 1308 bytes
4 files changed, 68 insertions, 0 deletions
diff --git a/docs/.gitignore b/docs/.gitignore
index f4df0be..ed193ea 100644
--- a/docs/.gitignore
+++ b/docs/.gitignore
@@ -1,2 +1,4 @@
*.pdf
*.html
+*.png
+!stickman.png
diff --git a/docs/Makefile b/docs/Makefile
index 277c18a..28508a4 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -7,8 +7,11 @@ html: $(addsuffix .html,$(docs))
pandoc -s $< -o $@
%.html: %.md Makefile
pandoc -s $< -o $@
+%.png: %.dot Makefile
+ dot -Tpng < $< > $@
ProductBacklog.pdf: Diagram01.jpg
+SystemModel.png: stickman.png
clean:
rm -f -- *.pdf *.html
diff --git a/docs/SystemModel.dot b/docs/SystemModel.dot
new file mode 100644
index 0000000..2ee4ca8
--- /dev/null
+++ b/docs/SystemModel.dot
@@ -0,0 +1,63 @@
+digraph SystemModel {
+ rankdir=LR;
+ peripheries=0;
+
+ /* users */
+ {
+ node [image="stickman.png", labelloc="b", shape="none"];
+ player[label="Player"];
+ host[label="Host"];
+ spectator[label="Spectator"];
+ }
+
+ /* subsystems */
+ /* if you want to rename any of these, it is probably easiest
+ * to leave the ID the same, and just change the label */
+ subgraph clusterSystem {
+ label = "System Boundry";
+ style = filled;
+
+ node [style=solid];
+ peerReview[label="Peer Review"];
+ performance[label="Performance"];
+ standings[label="Standings"];
+ gs[label="GS"];
+ search[label="Search"];
+ pm[label="PM"];
+ alerts[label="Alerts"];
+ pairings[label="Pairings"];
+ details[label="Tournament Details"];
+ backup[label="Backup"];
+ registration[label="Registration"];
+ }
+
+
+ /* all the relationships */
+ spectator -> search;
+ standings -> spectator;
+ alerts -> spectator;
+ pairings -> spectator;
+
+ player -> spectator [arrowhead="onormal"];
+ player -> peerReview;
+ player -> performance;
+ player -> registration;
+ player -> pm;
+ pm -> player;
+
+ host->spectator [arrowhead="onormal"];
+ host->alerts;
+ host->details;
+ host->registration;
+ host -> pm;
+ pm -> host;
+
+ peerReview -> standings;
+ performance-> standings;
+ gs -> performance;
+ details -> backup;
+ details -> pairings;
+ registration -> pairings;
+
+
+}
diff --git a/docs/stickman.png b/docs/stickman.png
new file mode 100644
index 0000000..00f16fc
--- /dev/null
+++ b/docs/stickman.png
Binary files differ