def clear(self):
        self.name = ''
        self.adj.clear()
        self.node.clear()
        self.graph.clear()
Remove all nodes and edges from the graph.
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/classes/graph.py/Graph.clear