code: def persist(self):
          
  
          self.persisted_nodes = self.graph.dump_nodes()
          self.persisted_streamers = self.graph.dump_streamers()
          self.persisted_exists = True
          self.persisted_constants = self._sensor_log.dump_constants()
docs: Trigger saving the current sensorgraph to persistent storage.