Commit cda7dca3e301f504cd08f26f23ac783c07955dd3
1 parent
e9381c1273
Exists in
master
study_deck.dot
Showing 1 changed file with 34 additions and 0 deletions Side-by-side Diff
screen_sequence_diagrams/study_deck.dot
View file @
cda7dca
1 | +digraph G{ | |
2 | + ratio=0.75; | |
3 | + //rankdir="LR"; | |
4 | + node[shape=box, style="rounded,filled,bold"]; | |
5 | + splines=ortho; | |
6 | + nodesep=1.4; | |
7 | + "Sidebar Menu"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
8 | + "ClassView"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
9 | + "StudyView Blank"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
10 | + "StudyView Response"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
11 | + "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond]; | |
12 | + "POST"[shape=none]; | |
13 | + labelfloat=true; | |
14 | + lp=100; | |
15 | + | |
16 | + "SUCCESS"[shape=none]; | |
17 | + "FAILURE"[shape=none]; | |
18 | + | |
19 | + "Sidebar Menu" -> "ClassView"; | |
20 | + "ClassView" -> "POST"; | |
21 | + "POST" -> "Controller"; | |
22 | + "Controller" -> "FAILURE"[label="User has no card in the deck."]; | |
23 | + "Controller" -> "SUCCESS"[label="User has at least a card in the deck."]; | |
24 | + "FAILURE" -> "Sidebar Menu"; | |
25 | + "SUCCESS" -> "StudyView Blank"; | |
26 | + "StudyView Blank" -> "POST"; | |
27 | + "SUCCESS"->"WhiteListCheck"; | |
28 | + "POST" -> "Controller"; | |
29 | + "Controller" -> "StudyView Response"; | |
30 | + "StudyView Response" -> "POST"; | |
31 | + "POST" -> "Controller"; | |
32 | + "Controller" -> "StudyView Blank"; | |
33 | + | |
34 | +} |