How to identify start node and end node in shortest_path_astar when the user click 2 points on the map?