Used formatter for SingleShortestPath