Returns an Edge in a graph with Vertex a and b
a
b
@override EpitaphEdge getEdge(Vertex a, Vertex b) => graph[a]!.firstWhere((element) => element.b.equalsById(b));