digraph { a [ label="A", xlabel="2" ]; b [ label="B", xlabel="1" ]; c [ label="C", xlabel="3" ]; d [ label="D", xlabel="4" ]; e [ label="E", xlabel="5" ]; a -> d; a -> c; b -> a; b -> c; c -> e; d -> e; }