code: def clear(self):
      self._successors.clear()
      self._predecessors.clear()
  
file_path: baikal/baikal/_core/digraph.py
imports: from collections import deque, defaultdict, OrderedDict
label_desc: Use image node_id 7 for calling the DiGraph obj's underlying member method code with example usage: obj.clear() without return types