Shortest path issue

Edges are uni-directional. So, you can use @reverse for that type edge to get the reverse direction.