Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCommon > GGraph > Classes > TGLabelGraph > Methods

TGLabelGraph.GetNodes Method

Scroll Prev Top Next More

Returns an iterator over the entire graph. Call GetNodes to return an iterator from which you can access all the nodes in the graph. Every call to GetNodes returns a new iterator.

The GetNodes method provides a base class means of accessing all the nodes in the list. If you know the type of the descendant graph, you can use their access methods (such as the Node property of the TGGraph class).


There is no ordering implied with the GetNodes function.


Do not use the enumeration to delete or add items to the graph as the behavior will be unpredictable (similar to a common TList programming error: for i := 0 to List.Count - 1 do; List.Delete(i); which only deletes every other item in the list).

Namespace: GGraph

Return Value

Type: IObjectIterator



RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb