pathfinder uses graph methods