diff --git a/filter_cards.dot b/filter_cards.dot new file mode 100644 index 0000000..dc9f9bb --- /dev/null +++ b/filter_cards.dot @@ -0,0 +1,32 @@ +digraph G{ + ratio=0.75; + //rankdir="LR"; + node[shape=box, style="rounded,filled,bold"]; + splines=ortho; + nodesep=1.4; + "Sidebar Menu"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"]; + "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond]; + "POST"[shape=none]; + labelfloat=true; + lp=100; + + //"Permission Denied: \n User cannot be enrolled in class"[shape=none] + "Success! \n Show live feed"[shape=none]; + "SUCCESS"[shape=none]; + "FAILURE"[shape=none]; + + "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond, + fixedsize=true, width=1.4, height=1.4]; + //"WhiteListCheck"[center=true, fillcolor="#aaaaff", style=filled, style=filled]; + "Sidebar Menu" -> "POST"; + "POST" -> "Controller"; + "Controller" -> "FAILURE"; + "FAILURE" -> "Sidebar Menu"; + //"Controller" -> "SUCCESS"; + //"SUCCESS"->"WhiteListCheck"; + //"WhiteListCheck" -> "Permission Denied: \n User cannot be enrolled in class"; + "WhiteListCheck" -> "Success! \n Show live feed"; + //"Success! \n User is added to class" -> "Sidebar Menu"; + //"Permission Denied: \n User cannot be enrolled in class" -> "Sidebar Menu"; + +}