A graph G = (V, E) consists of a set V of vertices and a set E edges, that is, unordered pairs Of vertices. Unless explicitly stated otherwise, we assume that the graph Is simple, that Is, it has no multiple edges And no self-loops. (使用迭代器来访问这个图之中的边连接的集合)