`while self.super_graph:` should be sufficient