fix build_graph() and add travel_between() methods