ok, thanks for your clarification.

If path_getedge returns a negative length when it is bidirectional would be great indeed!

Salud!