window_complex.dot 1.1 KB

12345678910111213141516171819202122
  1. /* automobile power window with auto rise/lower */
  2. digraph {
  3. pad=0.5; bgcolor="lightgrey"; nodesep=1.2;
  4. node [shape="box"; style="filled"; fillcolor="cyan"];
  5. edge [labelfontsize=10; minlen=2; labeldistance=3 ];
  6. WINDOW_STOPPED_ms -> WINDOW_GOING_UP_ma [taillabel="EVT_UP_BUTTON"];
  7. WINDOW_GOING_UP_ma -> WINDOW_UP_TIMING_ms [taillabel="EVT_BUTTON_RELEASE"];
  8. WINDOW_UP_TIMING_ms -> WINDOW_STOPPED_ms [taillabel="EVT_TICK && timout"];
  9. WINDOW_UP_TIMING_ms -> WINDOW_AUTO_UP_ma [taillabel="EVT_UP_BUTTON"];
  10. WINDOW_AUTO_UP_ma -> WINDOW_STOPPED_ms [taillabel="EVT_MOTOR_SENSE"];
  11. WINDOW_STOPPED_ms -> WINDOW_GOING_DN_ma [taillabel="EVT_DN_BUTTON"];
  12. WINDOW_GOING_DN_ma -> WINDOW_DN_TIMING_ms [taillabel="EVT_BUTTON_RELEASE"];
  13. WINDOW_DN_TIMING_ms -> WINDOW_STOPPED_ms [taillabel="EVT_TICK && timout"];
  14. WINDOW_DN_TIMING_ms -> WINDOW_AUTO_DN_ma [taillabel="EVT_UP_BUTTON"];
  15. WINDOW_AUTO_DN_ma -> WINDOW_STOPPED_ms [taillabel="EVT_MOTOR_SENSE"];
  16. WINDOW_GOING_UP_ma -> WINDOW_STOPPED_ms [taillabel="EVT_MOTOR_SENSE"];
  17. WINDOW_GOING_DN_ma -> WINDOW_STOPPED_ms [taillabel="EVT_MOTOR_SENSE"];
  18. }