Returns a list of all edges in graph.
@override List<Edge> getAllEdges() { List<Edge> tmp = []; for (var element in graph.values) { tmp.addAll(element); } return tmp; }