-
Notifications
You must be signed in to change notification settings - Fork 31
/
results_app.dot
31 lines (23 loc) · 991 Bytes
/
results_app.dot
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
digraph ReferenceGraph {
/* nodesep = 2;*/
/* splines=true;*/
/* overlap=prism;*/
edge [color=gray50, fontsize=11]
node [shape=record, fontsize=11]
subgraph clusterYNR {
label="YNR"; style=filled; bgcolor=gray95;
"ElectionBase" [label="{{ElectionBase}|{election_id}|{area_id}|{election_date}|{authority}}"]
"Person" [label="{{Person}}"]
};
subgraph clusterResultsRecorder {
label="ResultsRecorder"; style=filled; bgcolor=gray95;
"Election" [label="{{Election}|{electorate}}"]
"ResultsSet" [label="{{ResultsSet}|{reporter=FK(User)}|{election=FK(Election)}|{turnout_calculated}|{turnout_reported}|{spoilt_ballots}|{datetime}|{verified? (bool)}|{final? (bool)}}"]
"CandidateResult" [label="{{CandidateResult}|{result_set=FK(ResultsSet)}|{candidate_id=FK(Person)}|{ballots_reported}|{winner?}}}"]
-> ;
"Election" -> "ElectionBase"
"Election" -> "ResultsSet"
"ResultsSet" -> "CandidateResult"
"CandidateResult" -> "Person"
};
}