From 1b20e896d3ca0f51579d7982a1f8ce3939aae937 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 31 Jan 2014 16:27:50 -0500 Subject: Transform Diagram01.png into graphviz --- docs/.gitignore | 2 ++ docs/Makefile | 3 +++ docs/SystemModel.dot | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++ docs/stickman.png | Bin 0 -> 1308 bytes 4 files changed, 68 insertions(+) create mode 100644 docs/SystemModel.dot create mode 100644 docs/stickman.png (limited to 'docs') 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 Binary files /dev/null and b/docs/stickman.png differ -- cgit v1.2.3