Update GraphUtil::findCorrespondentEdges()

- Instead of using the end point to calculate the direction of the
edges, I use the polyline, which is more accurate.