public GraphElement GetNext(GraphElement element) { GraphElement next; stack.Push(element); foreach (GraphElement child in element.ListElements) { if (!stack.Contains(child)) { next = child; break; } } }
GraphElement Faind(GraphElement element) { }
public GraphIterator(GraphI graph) { this.graph = graph; current = this.graph.Head; }