Class DGraph

Inherits from:
Object
Declared in:
DGraph.h

Class Hierarchy

    Object
      |
      +---DGraph

Class Description

The graph collection stores objects in directed graph with nodes and edges. Both the nodes as the edges can store objects. The graph collection can also be used as graph data structure. Using the toDot method, the graph structure can be exported to a dot-file which can be visualized with the software of www.graphviz.org. IMPORTANT: the node and edge objects are owned by the graph object. Do NOT free them outside the scope of the graph object.

Last modified:
31-Oct-2007 (DGraph.h)

Instance Variables

private DList *_nodes
the list with the graph nodes
private DList *_edges
the list with the edges
private DText *_attributes
the optional (graphviz) attributes
private long _nodeCounter
the node counter (for the node name)
private long _edgeCounter
the edge counter (for the edge name)

Method Index


generated 05-Nov-2007 by ObjcDoc 3.0.0