public void RedrawAllNodes() { lock (AllNodesLock) { AllNodes.ForEach(n => n.Visualizer.Draw(n.GetState())); } }
public IEnumerable <Function> AllFunctions() { var collector = new Collector(); AllNodes.ForEach(n => ((DeviareNode)n.Tag).Accept(collector)); return(collector.CollectedFunctions); }