/* restart LED on each key press */ digraph { pad=0.5; bgcolor="lightgrey"; nodesep=1; node [shape="box"; style="filled"; fillcolor="cyan"]; edge [labelfontsize=10; minlen=2; labeldistance=2 ]; RTB_IDLE -> RTB_ON [taillabel="EVT_BUTTON "]; RTB_ON -> RTB_IDLE [taillabel=" EVT_TICK \n && counter==0"]; RTB_ON -> RTB_ON [taillabel=" EVT_BUTTON"]; }