summaryrefslogtreecommitdiff
path: root/doc/SystemModel.dot
blob: ea1836a2d52d30aef28baeaba288906bd8dc4c32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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="Game Score"];
		search[label="Search"];
		pm[label="Private Message"];
		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;
}