radio_tuner.dot 764 B

12345678910111213141516171819
  1. /* front panel of a radio */
  2. digraph {
  3. pad=0.5; bgcolor="lightgrey"; nodesep=1;
  4. node [shape="box"; style="filled"; fillcolor="cyan"; ];
  5. edge [labelfontsize=10; minlen=2; labeldistance=2 ];
  6. IDLE -> FREQ_UP [taillabel="EVT_UP_PRESS";]
  7. FREQ_UP -> IDLE [taillabel="EVT_UP_RELEASE"]
  8. FREQ_UP -> FREQ_UP_FAST [taillabel="EVT_TICK\n&& counter==0"];
  9. FREQ_UP_FAST -> IDLE [taillabel="EVT_UP_RELEASE"];
  10. FREQ_UP_FAST -> FREQ_UP_FAST [taillabel="EVT_TICK"];
  11. IDLE -> FREQ_DN [taillabel="EVT_DN_PRESS";]
  12. FREQ_DN -> IDLE [taillabel="EVT_DN_RELEASE"]
  13. FREQ_DN -> FREQ_DN_FAST [taillabel="EVT_TICK\n&& counter==0"];
  14. FREQ_DN_FAST -> IDLE [taillabel="EVT_DN_RELEASE"];
  15. FREQ_DN_FAST -> FREQ_DN_FAST [taillabel="EVT_TICK"];
  16. {rank=same; FREQ_UP FREQ_DN}
  17. }