Commit e44156bde5f6344e6985ab7e93b5346fed9af22f

Authored by Chung Wang
Exists in master

Merge branch 'master' of https://git.ucsd.edu/110swag/docs

Showing 2 changed files Side-by-side Diff

1 1 PNGS = built/use_cases_diagram.png built/schema_diagram.png built/schema_graph.png
2 2 PDFS = built/DesignUseCases.pdf built/screen_sequence_diagram.pdf
3   -SCREEN_SEQUENCE_PNGS = built/add_class.png built/drop_class.png
  3 +SCREEN_SEQUENCE_PNGS = built/add_class.png built/drop_class.png built/push_flashcard.png
4 4  
5 5 all: built/ $(PNGS) $(PDFS)
6 6  
screen_sequence_diagrams/push_flashcard.dot View file @ e44156b
  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 + "Push Flashcard Button"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"];
  8 + "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond];
  9 + "Server"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"];
  10 + "Flashcard Record \n Created in Database"[center=true, fillcolor="#aaaaff", style=filled,pos="0,0!"];
  11 + "POST"[shape=none];
  12 + labelfloat=true;
  13 + lp=100;
  14 +
  15 + "Card Published in Feed"[shape=none]
  16 + "SUCCESS"[shape=none];
  17 + "FAILURE"[shape=none];
  18 +
  19 + "Controller"[center=true, fillcolor="#aaaaff", style=filled, shape = diamond,
  20 + fixedsize=true, width=1.4, height=1.4];
  21 + "Flashcard Record \n Created in Database"[center=true, fillcolor="#aaaaff", style=filled];
  22 + "POST"[shape=none];
  23 + "Push Flashcard Button" -> "POST";
  24 + "POST" -> "Controller";
  25 + "Controller" -> "FAILURE";
  26 + "FAILURE" -> "Push Flashcard Button";
  27 + "Controller" -> "POST";
  28 + "POST" -> "Server";
  29 + "Server"-> "SUCCESS";
  30 + "SUCCESS" -> "Flashcard Record \n Created in Database";
  31 + "Flashcard Record \n Created in Database" -> "Card Published in Feed";
  32 + "Card Published in Feed" -> "Push Flashcard Button";
  33 +
  34 +}