Commit 495de81032ab733a15e7dd0df00e45ac83da289d

Authored by Andrew Buss
1 parent 99846bec64
Exists in master

Moved sidebar to top!

Showing 3 changed files with 34 additions and 31 deletions Side-by-side Diff

... ... @@ -15,6 +15,9 @@
15 15 built/%.png: %.dot
16 16 dot -Tpng -o $@ $<
17 17  
  18 +built/%.png: screen_sequence_diagrams/%.dot
  19 + dot -Tpng -o $@ $<
  20 +
18 21  
19 22 built/screen_sequence_diagram.pdf: built/screen_sequence_diagram.png
20 23 convert built/screen_sequence_diagram.png built/screen_sequence_diagram.pdf
screen_sequence_diagram.dot View file @ 495de81
1   -digraph G{
2   - ratio=0.75;
3   - //rankdir="LR";
4   - node[shape = box];
5   - //splines=ortho;
6   - nodesep=1.4;
7   - "Sidebar Menu"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"];
8   - "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond];
9   - "POST"[shape=none];
10   - labelfloat=true;
11   - lp=100;
12   -
13   - "Permission Denied: \n User cannot be enrolled in class"[shape=none]
14   - "Success! \n User is added to class"[shape=none];
15   - "SUCCESS"[shape=none];
16   - "FAILURE"[shape=none];
17   -
18   - "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond];
19   - "WhiteListCheck"[center=true, fillcolor="#aaaaff", style=filled, style=filled];
20   - "Sidebar Menu" -> "POST";
21   - "POST" -> "Controller";
22   - "Controller" -> "FAILURE";
23   - "FAILURE" -> "Sidebar Menu";
24   - "Controller" -> "SUCCESS";
25   - "SUCCESS"->"WhiteListCheck";
26   - "WhiteListCheck" -> "Permission Denied: \n User cannot be enrolled in class";
27   - "WhiteListCheck" -> "Success! \n User is added to class";
28   - "Success! \n User is added to class" -> "Sidebar Menu";
29   - "Permission Denied: \n User cannot be enrolled in class" -> "Sidebar Menu";
30   -
31   -}
screen_sequence_diagrams/add_class.dot View file @ 495de81
  1 +digraph G{
  2 + ratio=0.75;
  3 + //rankdir="LR";
  4 + node[shape = box];
  5 + //splines=ortho;
  6 + nodesep=1.4;
  7 + "Sidebar Menu"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"];
  8 + "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond];
  9 + "POST"[shape=none];
  10 + labelfloat=true;
  11 + lp=100;
  12 +
  13 + "Permission Denied: \n User cannot be enrolled in class"[shape=none]
  14 + "Success! \n User is added to class"[shape=none];
  15 + "SUCCESS"[shape=none];
  16 + "FAILURE"[shape=none];
  17 +
  18 + "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond];
  19 + "WhiteListCheck"[center=true, fillcolor="#aaaaff", style=filled, style=filled];
  20 + "Sidebar Menu" -> "POST";
  21 + "POST" -> "Controller";
  22 + "Controller" -> "FAILURE";
  23 + "FAILURE" -> "Sidebar Menu";
  24 + "Controller" -> "SUCCESS";
  25 + "SUCCESS"->"WhiteListCheck";
  26 + "WhiteListCheck" -> "Permission Denied: \n User cannot be enrolled in class";
  27 + "WhiteListCheck" -> "Success! \n User is added to class";
  28 + "Success! \n User is added to class" -> "Sidebar Menu";
  29 + "Permission Denied: \n User cannot be enrolled in class" -> "Sidebar Menu";
  30 +
  31 +}