Compare View
Commits (2)
Diff
Showing 10 changed files Inline Diff
- screen_sequence_diagrams/pull_flashcard.dot
- screen_sequence_diagrams/push_flashcard.dot
- screen_sequence_diagrams/remove_card.dot
- screen_sequence_diagrams/review_notification.dot
- screen_sequence_diagrams/section_limit_access.dot
- screen_sequence_diagrams/study_deck.dot
- screen_sequence_diagrams/user_login_out.dot
- screen_sequence_diagrams/user_register.dot
- screen_sequence_diagrams/view_by_pull_time.dot
- screen_sequence_diagrams/view_feed.dot
screen_sequence_diagrams/pull_flashcard.dot
View file @
204cdfc
digraph G{ | 1 | 1 | digraph G{ | |
ratio=0.75; | 2 | 2 | ratio=0.75; | |
//rankdir="LR"; | 3 | 3 | //rankdir="LR"; | |
labelloc="t"; | 4 | 4 | labelloc="t"; | |
label="[F3] Pull Flashcard"; | 5 | 5 | label="[F3] Pull Flashcard"; | |
node[shape=box, style="rounded,filled,bold"]; | 6 | 6 | node[shape=box, style="rounded,filled,bold"]; | |
splines=ortho; | 7 | 7 | splines=ortho; | |
nodesep=1.0; | 8 | 8 | nodesep=1.0; | |
"Pull Flashcard Button"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 9 | 9 | "Pull Flashcard Button"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | 10 | 10 | "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | |
fixedsize=true, width=1.4, height=1.4]; | 11 | 11 | fixedsize=true, width=1.4, height=1.4]; | |
"Server"[fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 12 | 12 | "Server"[fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"Flashcard added to User's Deck"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 13 | 13 | "Flashcard added to User's Deck"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"POST"[shape=none]; | 14 | 14 | "POST"[shape=none]; | |
labelfloat=true; | 15 | 15 | labelfloat=true; | |
lp=100; | 16 | 16 | lp=100; | |
17 | 17 | |||
"Update Card Rating"[shape=none]; | 18 | 18 | "Update Card Rating"[shape=none]; | |
"SUCCESS"[shape=none]; | 19 | 19 | "SUCCESS"[shape=none]; | |
"FAILURE"[shape=none]; | 20 | 20 | "FAILURE"[shape=none]; | |
21 | 21 | |||
"Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | 22 | 22 | "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | |
fixedsize=true, width=1.4, height=1.4]; | 23 | 23 | fixedsize=true, width=1.4, height=1.4]; | |
"Flashcard added to User's Deck"[center=true, fillcolor="#aaaaff", style=filled]; | 24 | 24 | "Flashcard added to User's Deck"[center=true, fillcolor="#aaaaff", style=filled]; | |
"POST"[shape=none]; | 25 | 25 | "POST"[shape=none]; | |
"Pull Flashcard Button" -> "POST"; | 26 | 26 | "Pull Flashcard Button" -> "POST"; | |
"POST" -> "Controller"; | 27 | 27 | "POST" -> "Controller"; | |
"Controller" -> "FAILURE"; | 28 | 28 | "Controller" -> "FAILURE"; | |
"FAILURE" -> "Pull Flashcard Button"; | 29 | 29 | "FAILURE" -> "Pull Flashcard Button"; | |
"Controller" -> "Hide Flashcard from Feed"; | 30 | 30 | "Controller" -> "Hide Flashcard from Feed"; | |
"POST" -> "Server"; | 31 | 31 | "POST" -> "Server"; | |
"Server"-> "SUCCESS"; | 32 | 32 | "Server"-> "SUCCESS"; | |
"SUCCESS" -> "Flashcard added to User's Deck"; | 33 | 33 | "SUCCESS" -> "Flashcard added to User's Deck"; | |
"Flashcard added to User's Deck" -> "Update Card Rating"; | 34 | 34 | "Flashcard added to User's Deck" -> "Update Card Rating"; | |
"Update Card Rating" -> "Pull Flashcard Button"; | 35 | 35 | "Update Card Rating" -> "Pull Flashcard Button"; | |
} | 36 | 36 | } | |
37 | 37 | |||
screen_sequence_diagrams/push_flashcard.dot
View file @
204cdfc
digraph G{ | 1 | 1 | digraph G{ | |
ratio=0.75; | 2 | 2 | ratio=0.75; | |
//rankdir="LR"; | 3 | 3 | //rankdir="LR"; | |
labelloc="t"; | 4 | 4 | labelloc="t"; | |
label="[F1] Push Flashcard"; | 5 | 5 | label="[F1] Push Flashcard"; | |
node[shape=box, style="rounded,filled,bold"]; | 6 | 6 | node[shape=box, style="rounded,filled,bold"]; | |
splines=ortho; | 7 | 7 | splines=ortho; | |
nodesep=1.0; | 8 | 8 | nodesep=1.0; | |
"Push Flashcard Button"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 9 | 9 | "Push Flashcard Button"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | 10 | 10 | "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | |
fixedsize=true, width=1.4, height=1.4]; | 11 | 11 | fixedsize=true, width=1.4, height=1.4]; | |
"Server"[fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 12 | 12 | "Server"[fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"Flashcard Record \n Created in Database"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 13 | 13 | "Flashcard Record \n Created in Database"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"POST"[shape=none]; | 14 | 14 | "POST"[shape=none]; | |
labelfloat=true; | 15 | 15 | labelfloat=true; | |
lp=100; | 16 | 16 | lp=100; | |
17 | 17 | |||
"Card Published in Feed"[shape=none]; | 18 | 18 | "Card Published in Feed"[shape=none]; | |
"SUCCESS"[shape=none]; | 19 | 19 | "SUCCESS"[shape=none]; | |
"FAILURE"[shape=none]; | 20 | 20 | "FAILURE"[shape=none]; | |
21 | 21 | |||
"Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | 22 | 22 | "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | |
fixedsize=true, width=1.4, height=1.4]; | 23 | 23 | fixedsize=true, width=1.4, height=1.4]; | |
"Flashcard Record \n Created in Database"[center=true, fillcolor="#aaaaff", style=filled]; | 24 | 24 | "Flashcard Record \n Created in Database"[center=true, fillcolor="#aaaaff", style=filled]; | |
"POST"[shape=none]; | 25 | 25 | "POST"[shape=none]; | |
"Push Flashcard Button" -> "POST"; | 26 | 26 | "Push Flashcard Button" -> "POST"; | |
"POST" -> "Controller"; | 27 | 27 | "POST" -> "Controller"; | |
"Controller" -> "FAILURE"; | 28 | 28 | "Controller" -> "FAILURE"; | |
"FAILURE" -> "Push Flashcard Button"; | 29 | 29 | "FAILURE" -> "Push Flashcard Button"; | |
"Controller" -> "POST"; | 30 | 30 | "Controller" -> "POST"; | |
"POST" -> "Server"; | 31 | 31 | "POST" -> "Server"; | |
"Server"-> "SUCCESS"; | 32 | 32 | "Server"-> "SUCCESS"; | |
"SUCCESS" -> "Flashcard Record \n Created in Database"; | 33 | 33 | "SUCCESS" -> "Flashcard Record \n Created in Database"; | |
"Flashcard Record \n Created in Database" -> "Card Published in Feed"; | 34 | 34 | "Flashcard Record \n Created in Database" -> "Card Published in Feed"; | |
"Card Published in Feed" -> "Push Flashcard Button"; | 35 | 35 | "Card Published in Feed" -> "Push Flashcard Button"; | |
36 | 36 | |||
} | 37 | 37 | } | |
38 | 38 | |||
screen_sequence_diagrams/remove_card.dot
View file @
204cdfc
digraph G{ | 1 | 1 | digraph G{ | |
ratio=0.75; | 2 | 2 | ratio=0.75; | |
//rankdir="LR"; | 3 | 3 | //rankdir="LR"; | |
labelloc="t"; | 4 | 4 | labelloc="t"; | |
label="[D4] Remove a Card from the Deck"; | 5 | 5 | label="[D4] Remove a Card from the Deck"; | |
node[shape=box, style="rounded,filled,bold"]; | 6 | 6 | node[shape=box, style="rounded,filled,bold"]; | |
splines=ortho; | 7 | 7 | splines=ortho; | |
nodesep=1.0; | 8 | 8 | nodesep=1.0; | |
"View Deck"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 9 | 9 | "View Deck"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | 10 | 10 | "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | |
fixedsize=true, width=1.4, height=1.4]; | 11 | 11 | fixedsize=true, width=1.4, height=1.4]; | |
"Server"[fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 12 | 12 | "Server"[fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"POST"[shape=none]; | 13 | 13 | "POST"[shape=none]; | |
labelfloat=true; | 14 | 14 | labelfloat=true; | |
lp=100; | 15 | 15 | lp=100; | |
16 | 16 | |||
"DELETE"[shape=none]; | 17 | 17 | "DELETE"[shape=none]; | |
"FAILURE"[shape=none]; | 18 | 18 | "FAILURE"[shape=none]; | |
19 | 19 | |||
"Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | 20 | 20 | "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | |
fixedsize=true, width=1.4, height=1.4]; | 21 | 21 | fixedsize=true, width=1.4, height=1.4]; | |
"POST"[shape=none]; | 22 | 22 | "POST"[shape=none]; | |
"Card Removed from Deck"[shape=none]; | 23 | 23 | "Card Removed from Deck"[shape=none]; | |
"Flashcard Position\nUpdated in Live Feed"[shape=none]; | 24 | 24 | "Flashcard Position\nUpdated in Live Feed"[shape=none]; | |
"View Deck" -> "POST"; | 25 | 25 | "View Deck" -> "POST"; | |
"POST" -> "Controller"; | 26 | 26 | "POST" -> "Controller"; | |
"Controller" -> "FAILURE"; | 27 | 27 | "Controller" -> "FAILURE"; | |
"FAILURE" -> "View Deck"; | 28 | 28 | "FAILURE" -> "View Deck"; | |
"Controller" -> "Remove Flashcard Button"; | 29 | 29 | "Controller" -> "Remove Flashcard Button"; | |
"Remove Flashcard Button" -> "DELETE"; | 30 | 30 | "Remove Flashcard Button" -> "DELETE"; | |
"DELETE" -> "Server"; | 31 | 31 | "DELETE" -> "Server"; | |
"Server" -> "Card Removed from Deck"; | 32 | 32 | "Server" -> "Card Removed from Deck"; | |
"Card Removed from Deck" -> "Flashcard Position\nUpdated in Live Feed"; | 33 | 33 | "Card Removed from Deck" -> "Flashcard Position\nUpdated in Live Feed"; | |
"Flashcard Position\nUpdated in Live Feed" -> "View Deck"; | 34 | 34 | "Flashcard Position\nUpdated in Live Feed" -> "View Deck"; | |
} | 35 | 35 | } | |
36 | 36 | |||
screen_sequence_diagrams/review_notification.dot
View file @
204cdfc
digraph G{ | 1 | 1 | digraph G{ | |
ratio=0.75; | 2 | 2 | ratio=0.75; | |
//rankdir="LR"; | 3 | 3 | //rankdir="LR"; | |
labelloc="t"; | 4 | 4 | labelloc="t"; | |
label="[R2] Review Notifications"; | 5 | 5 | label="[R2] Review Notifications"; | |
node[shape=box, style="rounded,filled,bold"]; | 6 | 6 | node[shape=box, style="rounded,filled,bold"]; | |
splines=ortho; | 7 | 7 | splines=ortho; | |
nodesep=1.4; | 8 | 8 | nodesep=1.4; | |
"Sidebar Menu"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 9 | 9 | "Sidebar Menu"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"Server"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 10 | 10 | "Server"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
11 | 11 | |||
"Notification"[shape=none]; | 12 | 12 | "Notification"[shape=none]; | |
"UPDATE"[shape=none]; | 13 | 13 | "UPDATE"[shape=none]; | |
14 | 14 | |||
"Server" -> "Notification"; | 15 | 15 | "Server" -> "Notification"; | |
"Notification" -> "Controller"; | 16 | 16 | "Notification" -> "Controller"; | |
"Controller" -> "UPDATE"; | 17 | 17 | "Controller" -> "UPDATE"; | |
"UPDATE" -> "Sidebar Menu"; | 18 | 18 | "UPDATE" -> "Sidebar Menu"; | |
19 | 19 |
screen_sequence_diagrams/section_limit_access.dot
View file @
204cdfc
digraph G{ | 1 | 1 | digraph G{ | |
// Title | 2 | 2 | // Title | |
labelloc="t"; | 3 | 3 | labelloc="t"; | |
label="[A7] Limit Section Access"; | 4 | 4 | label="[A7] Limit Section Access"; | |
5 | 5 | |||
// Other | 6 | 6 | // Other | |
ratio=0.75; | 7 | 7 | ratio=0.75; | |
node[shape=box, style="rounded,filled,bold"]; | 8 | 8 | node[shape=box, style="rounded,filled,bold"]; | |
splines=ortho; | 9 | 9 | splines=ortho; | |
nodesep=1.4; | 10 | 10 | nodesep=1.4; | |
"Instructor's\nEmail Client"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 11 | 11 | "Instructor's\nEmail Client"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"Admins Page"[center=true, fillcolor="#aaaaff", style=filled]; | 12 | 12 | "Admins Page"[center=true, fillcolor="#aaaaff", style=filled]; | |
"Controller"[center=true, fillcolor="#aaaaff", style=filled, shape=diamond, | 13 | 13 | "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape=diamond, | |
fixedsize=true, width=1.8, height=1.8]; | 14 | 14 | fixedsize=true, width=1.8, height=1.8]; | |
"EMAIL"[shape=none]; | 15 | 15 | "EMAIL"[shape=none]; | |
"POST"[shape=none]; | 16 | 16 | "POST"[shape=none]; | |
labelfloat=true; | 17 | 17 | labelfloat=true; | |
lp=100; | 18 | 18 | lp=100; | |
19 | 19 | |||
"SUCCESS"[shape=none]; | 20 | 20 | "SUCCESS"[shape=none]; | |
"FAILURE"[shape=none]; | 21 | 21 | "FAILURE"[shape=none]; | |
22 | 22 | |||
"Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | 23 | 23 | "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | |
fixedsize=true, width=1.5, height=1.5]; | 24 | 24 | fixedsize=true, width=1.5, height=1.5]; | |
25 | 25 | |||
// Graph | 26 | 26 | // Graph | |
"Instructor's\nEmail Client" -> "EMAIL"; | 27 | 27 | "Instructor's\nEmail Client" -> "EMAIL"; | |
"EMAIL" -> "Admins Page"; | 28 | 28 | "EMAIL" -> "Admins Page"; | |
"Admins Page" -> "POST"; | 29 | 29 | "Admins Page" -> "POST"; | |
"POST" -> "Controller"; | 30 | 30 | "POST" -> "Controller"; | |
31 | 31 | |||
"Controller" -> "SUCCESS"; | 32 | 32 | "Controller" -> "SUCCESS"; | |
"SUCCESS" -> "Instructor's\nEmail Client"; | 33 | 33 | "SUCCESS" -> "Instructor's\nEmail Client"; | |
34 | 34 | |||
"Controller" -> "FAILURE"; | 35 | 35 | "Controller" -> "FAILURE"; |
screen_sequence_diagrams/study_deck.dot
View file @
204cdfc
digraph G{ | 1 | 1 | digraph G{ | |
// Title | 2 | 2 | // Title | |
labelloc="t" | 3 | 3 | labelloc="t" | |
label="[R1] Study Deck" | 4 | 4 | label="[R1] Study Deck" | |
5 | 5 | |||
ratio=0.75; | 6 | 6 | ratio=0.75; | |
//rankdir="LR"; | 7 | 7 | //rankdir="LR"; | |
node[shape=box, style="rounded,filled,bold"]; | 8 | 8 | node[shape=box, style="rounded,filled,bold"]; | |
splines=ortho; | 9 | 9 | splines=ortho; | |
nodesep=1.4; | 10 | 10 | nodesep=1.4; | |
"Navbar"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 11 | 11 | "Navbar"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"ClassView"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 12 | 12 | "ClassView"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"StudyView Blank"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 13 | 13 | "StudyView Blank"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"StudyView Response"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 14 | 14 | "StudyView Response"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | 15 | 15 | "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | |
fixedsize=true, width=1.4, height=1.4]; | 16 | 16 | fixedsize=true, width=1.4, height=1.4]; | |
"POST"[shape=none]; | 17 | 17 | "POST"[shape=none]; | |
labelfloat=true; | 18 | 18 | labelfloat=true; | |
lp=100; | 19 | 19 | lp=100; | |
20 | 20 | |||
"SUCCESS\nUser has at least a card in the deck."[shape=none]; | 21 | 21 | "SUCCESS\nUser has at least a card in the deck."[shape=none]; | |
"FAILURE:\nUser has no card in the deck."[shape=none]; | 22 | 22 | "FAILURE:\nUser has no card in the deck."[shape=none]; | |
23 | 23 | |||
"Navbar" -> "ClassView"; | 24 | 24 | "Navbar" -> "ClassView"; | |
"ClassView" -> "POST"; | 25 | 25 | "ClassView" -> "POST"; | |
"POST" -> "Controller"; | 26 | 26 | "POST" -> "Controller"; | |
"Controller" -> "FAILURE:\nUser has no card in the deck."; | 27 | 27 | "Controller" -> "FAILURE:\nUser has no card in the deck."; | |
"Controller" -> "SUCCESS\nUser has at least a card in the deck."; | 28 | 28 | "Controller" -> "SUCCESS\nUser has at least a card in the deck."; | |
"FAILURE:\nUser has no card in the deck." -> "Sidebar Menu"; | 29 | 29 | "FAILURE:\nUser has no card in the deck." -> "Sidebar Menu"; | |
"SUCCESS\nUser has at least a card in the deck." -> "StudyView Blank"; | 30 | 30 | "SUCCESS\nUser has at least a card in the deck." -> "StudyView Blank"; | |
"StudyView Blank" -> "POST"; | 31 | 31 | "StudyView Blank" -> "POST"; | |
"Controller" -> "StudyView Response"; | 32 | 32 | "Controller" -> "StudyView Response"; | |
"StudyView Response" -> "POST"; | 33 | 33 | "StudyView Response" -> "POST"; | |
"Controller" -> "StudyView Blank"; | 34 | 34 | "Controller" -> "StudyView Blank"; | |
35 | 35 | |||
} | 36 | 36 | } | |
37 | 37 | |||
screen_sequence_diagrams/user_login_out.dot
View file @
204cdfc
digraph G{ | 1 | 1 | digraph G{ | |
labelloc="t"; | 2 | 2 | labelloc="t"; | |
label="[A2] Login & [A8] Logout"; | 3 | 3 | label="[A2] Login & [A8] Logout"; | |
4 | 4 | |||
// Other | 5 | 5 | // Other | |
ratio=0.75; | 6 | 6 | ratio=0.75; | |
node[shape=box, style="rounded,filled,bold"]; | 7 | 7 | node[shape=box, style="rounded,filled,bold"]; | |
splines=ortho; | 8 | 8 | splines=ortho; | |
nodesep=1.4; | 9 | 9 | nodesep=1.4; | |
"Navbar"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 10 | 10 | "Navbar"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"Login/Register Page"[center=true, fillcolor="#aaaaff", style=filled]; | 11 | 11 | "Login/Register Page"[center=true, fillcolor="#aaaaff", style=filled]; | |
"Logout Controller"[center=true, fillcolor="#aaaaff", style=filled, shape=diamond, | 12 | 12 | "Logout Controller"[center=true, fillcolor="#aaaaff", style=filled, shape=diamond, | |
fixedsize=true, width=1.8, height=1.8]; | 13 | 13 | fixedsize=true, width=1.8, height=1.8]; | |
"Login Controller"[center=true, fillcolor="#aaaaff", style=filled, shape=diamond, | 14 | 14 | "Login Controller"[center=true, fillcolor="#aaaaff", style=filled, shape=diamond, | |
fixedsize=true, width=1.8, height=1.8]; | 15 | 15 | fixedsize=true, width=1.8, height=1.8]; | |
"POST"[shape=none]; | 16 | 16 | "POST"[shape=none]; | |
labelfloat=true; | 17 | 17 | labelfloat=true; | |
lp=100; | 18 | 18 | lp=100; | |
19 | 19 | |||
"SUCCESS:\n User logged in"[shape=none]; | 20 | 20 | "SUCCESS:\n User logged in"[shape=none]; | |
"SUCCESS:\n User logged out"[shape=none]; | 21 | 21 | "SUCCESS:\n User logged out"[shape=none]; | |
"Logout FAILURE"[shape=none]; | 22 | 22 | "Logout FAILURE"[shape=none]; | |
"Login FAILURE"[shape=none]; | 23 | 23 | "Login FAILURE"[shape=none]; | |
24 | 24 | |||
"Logout Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | 25 | 25 | "Logout Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | |
fixedsize=true, width=1.8, height=1.8]; | 26 | 26 | fixedsize=true, width=1.8, height=1.8]; | |
"Login Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | 27 | 27 | "Login Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | |
fixedsize=true, width=1.8, height=1.8]; | 28 | 28 | fixedsize=true, width=1.8, height=1.8]; | |
29 | 29 | |||
// Graph | 30 | 30 | // Graph | |
"Navbar" -> "POST"[dir=none]; | 31 | 31 | "Navbar" -> "POST"[dir=none]; | |
"POST" -> "Logout Controller"; | 32 | 32 | "POST" -> "Logout Controller"; | |
"Logout Controller" -> "Logout FAILURE"[dir=none]; | 33 | 33 | "Logout Controller" -> "Logout FAILURE"[dir=none]; | |
"Logout FAILURE" -> "Sidebar Menu"; | 34 | 34 | "Logout FAILURE" -> "Sidebar Menu"; | |
35 | 35 | |||
"Logout Controller" -> "SUCCESS:\n User logged out"; | 36 | 36 | "Logout Controller" -> "SUCCESS:\n User logged out"; | |
"SUCCESS:\n User logged out" -> "Login/Register Page"; | 37 | 37 | "SUCCESS:\n User logged out" -> "Login/Register Page"; | |
38 | 38 | |||
"Login/Register Page" -> "Login Controller"; | 39 | 39 | "Login/Register Page" -> "Login Controller"; | |
"Login Controller" -> "SUCCESS:\n User logged in"; | 40 | 40 | "Login Controller" -> "SUCCESS:\n User logged in"; | |
"SUCCESS:\n User logged in" -> "Sidebar Menu"; | 41 | 41 | "SUCCESS:\n User logged in" -> "Sidebar Menu"; | |
42 | 42 | |||
"Login Controller" -> "Login FAILURE"; | 43 | 43 | "Login Controller" -> "Login FAILURE"; |
screen_sequence_diagrams/user_register.dot
View file @
204cdfc
digraph G{ | 1 | 1 | digraph G{ | |
// Title | 2 | 2 | // Title | |
//"Login/Logout"[center=true,fillcolor="#ffffff",pos="0,0!",shape=none,fontsize=20]; | 3 | 3 | //"Login/Logout"[center=true,fillcolor="#ffffff",pos="0,0!",shape=none,fontsize=20]; | |
labelloc="t"; | 4 | 4 | labelloc="t"; | |
label="[A1] User Registration"; | 5 | 5 | label="[A1] User Registration"; | |
6 | 6 | |||
// Other | 7 | 7 | // Other | |
ratio=0.75; | 8 | 8 | ratio=0.75; | |
node[shape=box, style="rounded,filled,bold"]; | 9 | 9 | node[shape=box, style="rounded,filled,bold"]; | |
splines=ortho; | 10 | 10 | splines=ortho; | |
// nodesep=1.3; | 11 | 11 | // nodesep=1.3; | |
nodesep=3.0; | 12 | 12 | nodesep=3.0; | |
ranksep=0.05; | 13 | 13 | ranksep=0.05; | |
"Login/Register Page"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 14 | 14 | "Login/Register Page"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"POST"[shape=none]; | 15 | 15 | "POST"[shape=none]; | |
labelfloat=true; | 16 | 16 | labelfloat=true; | |
lp=100; | 17 | 17 | lp=100; | |
18 | 18 | |||
"SUCCESS:\nValid, send JSON."[shape=none]; | 19 | 19 | "SUCCESS:\nValid, send JSON."[shape=none]; | |
"SUCCESS:\nValid, unverified user created.\nEmail verification message displayed."[shape=none]; | 20 | 20 | "SUCCESS:\nValid, unverified user created.\nEmail verification message displayed."[shape=none]; | |
"FAILURE"[shape=none]; | 21 | 21 | "FAILURE"[shape=none]; | |
"FAILURE:\nData invalid"[shape=none]; | 22 | 22 | "FAILURE:\nData invalid"[shape=none]; | |
23 | 23 | |||
"Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | 24 | 24 | "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | |
fixedsize=true, width=1.5, height=1.5]; | 25 | 25 | fixedsize=true, width=1.5, height=1.5]; | |
"Server"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | 26 | 26 | "Server"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | |
fixedsize=true, width=1.5, height=1.5]; | 27 | 27 | fixedsize=true, width=1.5, height=1.5]; | |
28 | 28 | |||
// Graph | 29 | 29 | // Graph | |
"Login/Register Page" -> "POST"; | 30 | 30 | "Login/Register Page" -> "POST"; | |
"POST" -> "Controller"; | 31 | 31 | "POST" -> "Controller"; | |
32 | 32 | |||
"Controller" -> "FAILURE"; | 33 | 33 | "Controller" -> "FAILURE"; | |
"FAILURE" -> "Login/Register Page"; | 34 | 34 | "FAILURE" -> "Login/Register Page"; | |
35 | 35 | |||
"Controller" -> "SUCCESS:\nValid, send JSON."; | 36 | 36 | "Controller" -> "SUCCESS:\nValid, send JSON."; | |
"SUCCESS:\nValid, send JSON." -> "Server"; | 37 | 37 | "SUCCESS:\nValid, send JSON." -> "Server"; | |
38 | 38 | |||
"Server" -> "FAILURE:\nData invalid"; | 39 | 39 | "Server" -> "FAILURE:\nData invalid"; | |
"FAILURE:\nData invalid" -> "Login/Register Page"; | 40 | 40 | "FAILURE:\nData invalid" -> "Login/Register Page"; | |
41 | 41 | |||
"Server" -> "SUCCESS:\nValid, unverified user created.\nEmail verification message displayed."; | 42 | 42 | "Server" -> "SUCCESS:\nValid, unverified user created.\nEmail verification message displayed."; | |
"SUCCESS:\nValid, unverified user created.\nEmail verification message displayed." -> "Login/Register Page"; | 43 | 43 | "SUCCESS:\nValid, unverified user created.\nEmail verification message displayed." -> "Login/Register Page"; | |
} | 44 | 44 | } | |
45 | 45 | |||
screen_sequence_diagrams/view_by_pull_time.dot
View file @
204cdfc
digraph G{ | 1 | 1 | digraph G{ | |
ratio=0.75; | 2 | 2 | ratio=0.75; | |
//rankdir="LR"; | 3 | 3 | //rankdir="LR"; | |
labelloc="t"; | 4 | 4 | labelloc="t"; | |
label="[D2] View A Card by Pull Time"; | 5 | 5 | label="[D2] View A Card by Pull Time"; | |
node[shape=box, style="rounded,filled,bold"]; | 6 | 6 | node[shape=box, style="rounded,filled,bold"]; | |
splines=ortho; | 7 | 7 | splines=ortho; | |
nodesep=1.0; | 8 | 8 | nodesep=1.0; | |
"View Deck"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | 9 | 9 | "View Deck"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; | |
"Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | 10 | 10 | "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | |
fixedsize=true, width=1.4, height=1.4]; | 11 | 11 | fixedsize=true, width=1.4, height=1.4]; | |
"POST"[shape=none]; | 12 | 12 | "POST"[shape=none]; | |
labelfloat=true; | 13 | 13 | labelfloat=true; | |
lp=100; | 14 | 14 | lp=100; | |
15 | 15 | |||
"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, | |
fixedsize=true, width=1.4, height=1.4]; | 19 | 19 | fixedsize=true, width=1.4, height=1.4]; | |
"POST"[shape=none]; | 20 | 20 | "POST"[shape=none]; | |
"View Deck" -> "POST"; | 21 | 21 | "View Deck" -> "POST"; | |
"POST" -> "Controller"; | 22 | 22 | "POST" -> "Controller"; | |
"Controller" -> "FAILURE"; | 23 | 23 | "Controller" -> "FAILURE"; | |
"FAILURE" -> "View Deck"; | 24 | 24 | "FAILURE" -> "View Deck"; | |
"Controller" -> "Sort by Ascending\nor Descending Time"; | 25 | 25 | "Controller" -> "Sort by Ascending\nor Descending Time"; | |
"Sort by Ascending\nor Descending Time" -> "View Deck"; | 26 | 26 | "Sort by Ascending\nor Descending Time" -> "View Deck"; | |
} | 27 | 27 | } |
screen_sequence_diagrams/view_feed.dot
View file @
204cdfc
digraph G{ | 1 | 1 | digraph G{ | |
ratio=0.75; | 2 | 2 | ratio=0.75; | |
//rankdir="LR"; | 3 | 3 | //rankdir="LR"; | |
node[shape=box, style="rounded,filled,bold"]; | 4 | 4 | node[shape=box, style="rounded,filled,bold"]; | |
splines=ortho; | 5 | 5 | splines=ortho; | |
nodesep=1.4; | 6 | 6 | nodesep=1.4; | |
labelloc="t"; | 7 | 7 | labelloc="t"; | |
label="[F9] View Feed"; | 8 | 8 | label="[F9] View Feed"; | |
"Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | 9 | 9 | "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | |
fixedsize=true, width=1.4, height=1.4]; | 10 | 10 | fixedsize=true, width=1.4, height=1.4]; | |
labelfloat=true; | 11 | 11 | labelfloat=true; | |
lp=100; | 12 | 12 | lp=100; | |
13 | 13 | |||
"GET"[shape=none]; | 14 | 14 | "GET"[shape=none]; | |
"SUCCESS"[shape=none]; | 15 | 15 | "SUCCESS"[shape=none]; | |
"FAILURE:\nno cards"[shape=none]; | 16 | 16 | "FAILURE:\nno cards"[shape=none]; | |
17 | 17 | |||
"Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | 18 | 18 | "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, | |
fixedsize=true, width=1.4, height=1.4]; | 19 | 19 | fixedsize=true, width=1.4, height=1.4]; | |
"Root" -> "GET"; | 20 | 20 | "Root" -> "GET"; | |
"GET" -> "Controller"; | 21 | 21 | "GET" -> "Controller"; | |
"Controller" -> "FAILURE:\nno cards"; | 22 | 22 | "Controller" -> "FAILURE:\nno cards"; | |
"Controller" -> "SUCCESS"; | 23 | 23 | "Controller" -> "SUCCESS"; | |
"FAILURE:\nno cards" -> "Feed"; | 24 | 24 | "FAILURE:\nno cards" -> "Feed"; | |
"SUCCESS" -> "Feed"; | 25 | 25 | "SUCCESS" -> "Feed"; | |
} | 26 | 26 | } | |
27 | 27 |