def create(cls, vertices = Vertices()): edges = Edges.create(vertices) return Graph(vertices, edges)
def complement(self): all_edges = Edges.create(self.vertices) return Graph(self.vertices, all_edges - self.edges)