public void Reset() { foreach (var node in Nodes) { node.Reset(); } NodeStack.Clear(); ConnectedComponents.Clear(); ArticulationPoints.Clear(); CriticalVertices.Clear(); Time = 0; }