DEPRECATED use GetShortestPath instead. Get the result of pathfinding between two nodes in graph format.