door2.dot 675 B

123456789101112131415
  1. /* RFID controlled door lock */
  2. digraph {
  3. pad=0.5; bgcolor="lightgrey"; nodesep=1;
  4. node [shape="square"; style="filled"; fillcolor="cyan"];
  5. edge [labelfontsize=10; minlen=2; labeldistance=2; ];
  6. DOOR_LOCKED -> KEY_ANALYSIS [taillabel="EVT_RFID_DETECTED"];
  7. KEY_ANALYSIS -> DOOR_UNLOCKED [taillabel="MSG_KEY_OK"];
  8. KEY_ANALYSIS -> DOOR_LOCKED [taillabel="MSG_KEY_NOK"];
  9. DOOR_UNLOCKED -> REPORTING [taillabel="EVT_TIMER_DONE"];
  10. DOOR_LOCKED -> DOOR_UNLOCKED [taillabel="EVT_INTERNAL_BUTTON"];
  11. DOOR_UNLOCKED -> DOOR_UNLOCKED [taillabel="EVT_INTERNAL_BUTTON"];
  12. REPORTING -> DOOR_LOCKED [taillabel="EVT_REPORT_DONE"];
  13. {rank=same; DOOR_LOCKED DOOR_UNLOCKED}
  14. }