distance function used by twopi

According to the twopi documentation, a node N at distance K of the root will be in the Kth circle. However, it seems that this distance is computed by ignoring the direction of the arrows. For instance, in
digraph g {
 s0 -> s1;
 s0 -> s2;
 s1 -> s3;
 s2 -> s4;
 s4 -> s0;
s4 is in the 1st circle instead of being in the 2nd since dist(s0,s4) = 2 (s0 -> s2 -> s4).
Is there a way to enforce that the distance function used by twopi respects the direction of arrows (i.e. directed distance instead of undirected distance)?

Recent comments