Commit e9381c127325bf9286fbd4feafea103f467ea1a4
Exists in
master
Merge branch 'master' of git.ucsd.edu:110swag/docs
Showing 1 changed file Inline Diff
screen_sequence_diagrams/add_class.dot
View file @
e9381c1
digraph G{ | 1 | 1 | digraph G{ | |
ratio=0.75; | 2 | 2 | ratio=0.75; | |
//rankdir="LR"; | 3 | 3 | //rankdir="LR"; | |
node[shape = box]; | 4 | 4 | node[shape=box, style="rounded,filled,bold"]; | |
//splines=ortho; | 5 | 5 | splines=ortho; | |
nodesep=1.4; | 6 | 6 | nodesep=1.4; | |
"Sidebar Menu"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 7 | 7 | "Sidebar Menu"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond]; | 8 | 8 | "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond]; | |
"POST"[shape=none]; | 9 | 9 | "POST"[shape=none]; | |
labelfloat=true; | 10 | 10 | labelfloat=true; | |
lp=100; | 11 | 11 | lp=100; | |
12 | 12 | |||
"Permission Denied: \n User cannot be enrolled in class"[shape=none] | 13 | 13 | "Permission Denied: \n User cannot be enrolled in class"[shape=none] | |
"Success! \n User is added to class"[shape=none]; | 14 | 14 | "Success! \n User is added to class"[shape=none]; | |
"SUCCESS"[shape=none]; | 15 | 15 | "SUCCESS"[shape=none]; | |
"FAILURE"[shape=none]; | 16 | 16 | "FAILURE"[shape=none]; | |
17 | 17 | |||
"Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond]; | 18 | 18 | "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | |
19 | fixedsize=true, width=1.4, height=1.4]; | |||
"WhiteListCheck"[center=true, fillcolor="#aaaaff", style=filled, style=filled]; | 19 | 20 | "WhiteListCheck"[center=true, fillcolor="#aaaaff", style=filled, style=filled]; | |
"Sidebar Menu" -> "POST"; | 20 | 21 | "Sidebar Menu" -> "POST"; | |
"POST" -> "Controller"; | 21 | 22 | "POST" -> "Controller"; | |
"Controller" -> "FAILURE"; | 22 | 23 | "Controller" -> "FAILURE"; | |
"FAILURE" -> "Sidebar Menu"; | 23 | 24 | "FAILURE" -> "Sidebar Menu"; | |
"Controller" -> "SUCCESS"; | 24 | 25 | "Controller" -> "SUCCESS"; | |
"SUCCESS"->"WhiteListCheck"; | 25 | 26 | "SUCCESS"->"WhiteListCheck"; | |
"WhiteListCheck" -> "Permission Denied: \n User cannot be enrolled in class"; | 26 | 27 | "WhiteListCheck" -> "Permission Denied: \n User cannot be enrolled in class"; | |
"WhiteListCheck" -> "Success! \n User is added to class"; | 27 | 28 | "WhiteListCheck" -> "Success! \n User is added to class"; | |
"Success! \n User is added to class" -> "Sidebar Menu"; | 28 | 29 | "Success! \n User is added to class" -> "Sidebar Menu"; | |
"Permission Denied: \n User cannot be enrolled in class" -> "Sidebar Menu"; | 29 | 30 | "Permission Denied: \n User cannot be enrolled in class" -> "Sidebar Menu"; | |
30 | 31 | |||
} | 31 | 32 | } |