code: def clear(self):
          
          # self.graph = nx.Graph()
          self.graph.clear()
          self.data.clear()
          self.descriptors.clear()
          self.size2d = None
          self.rings = None
          self.scaffolds = None
          self.isolated = None
docs: Empty the instance