addEdges method
Adds multiple edges to the graph.
Equivalent to calling addEdge for each edge in edges, but some
implementations may be able to optimize this operation.
Implementation
void addEdges(Iterable<Edge<E>> edges) {
  for (final edge in edges) {
    addEdge(edge);
  }
}