code: def clear(self):
          
  
          self.roots = []
          self.nodes = []
          self.streamers = []
  
          self.constant_database = {}
          self.metadata_database = {}
          self.config_database = {}
docs: Clear all nodes from this sensor_graph.
  
          This function is equivalent to just creating a new SensorGraph() object
          from scratch.  It does not clear any data from the SensorLog, however.