Returns a copy of the graph edges as a map of type Map<T, Set<T>>.
Map<T, Set<T>>
Map<T, Set<T>> get data { final data = <T, Set<T>>{}; for (final vertex in sortedVertices) { data[vertex] = _edges[vertex]!; } return data; }