def clear(self):
        self.name = ''
        self.adj.clear()
        self.node.clear()
        self.graph.clear()
Remove all nodes and edges from the graph.
dataset/ETHPy150Open networkx/networkx/networkx/classes/tests/timingclasses.py/TimingGraph.clear