def refresh(self, nodegraph): """See BaseUI.refresh.""" BaseUI.refresh(self, nodegraph) self._running_nodes = [] for node in nodegraph.iterflat(): if nodegraph.get_node_state(node) == self.RUNNING \ and not isinstance(node, MetaNode): self._running_nodes.append(node)
def refresh(self, nodegraph): """Called when the nodegraph has refreshed, causing state-counts to be recalculated.""" self._updated = True self.states, self.threads \ = self._count_states(nodegraph, nodegraph.iterflat())
def refresh(self, nodegraph): """Called when the nodegraph has refreshed, causing state-counts to be recalculated.""" self.states, self.threads \ = self._count_states(nodegraph, nodegraph.iterflat())