public IEnumerable <DataEdge> Find(Maze map) { DataGraph graph = _mapConverter.ToGraph(map); var pathfindingAlgorithm = new ShortestPathsDijkstra <DataGraph, DataEdge>(); return(pathfindingAlgorithm.Find(graph)); }