door.dot 611 B

1234567891011121314
  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 -> DOOR_UNLOCKED [taillabel="EVT_RFID_OK"];
  7. DOOR_LOCKED -> DOOR_LOCKED [taillabel="EVT_RFID_NOK"];
  8. DOOR_UNLOCKED -> REPORTING [taillabel="EVT_TIMER_DONE"];
  9. DOOR_LOCKED -> DOOR_UNLOCKED [taillabel="EVT_INTERNAL_BUTTON"];
  10. DOOR_UNLOCKED -> DOOR_UNLOCKED [taillabel="EVT_INTERNAL_BUTTON"];
  11. REPORTING -> DOOR_LOCKED [taillabel="EVT_REPORT_DONE"];
  12. {rank=same; DOOR_LOCKED DOOR_UNLOCKED}
  13. }