digraph G {
 a, b, c, d, e;
 a -> b [weights=3];
 a -> e [weights=-4];
 a -> c [weights=8];
 b -> d [weights=1];
 b -> e [weights=7];
 c -> b [weights=4];
 d -> c [weights=-5];
 d -> a [weights=2];
 e -> d [weights=6];
}
