digraph { rankdir=LR in [shape=point style=invis] 0 [color=yellow label="0"] 1 [label="1"] 2 [color=green shape=doublecircle label="2\np=0\nac=0"] 3 [label="3"] 4 [color=green shape=doublecircle label="4\np=1\nac=1"] 1 -> 2 [label="-"] 3 -> 4 [label="-"] 3 -> 4 [label="]"] 0 -> 1 [label="ε"] 0 -> 3 [label="ε"] in -> 0 }