IODGraph Class

class IODGraph: public IODObject

This interface provides access to nodes and edges in a graph. The nodes and edges in a graph are uniquely identified by a component identifier. This is also true of the graph itself.

This interface is associated with the GUID identifier IID_IODGraph.

Defined in: OdGraph.h

Class Members

virtual ODComponentId GetID() const

Return the component ID of the graph.

virtual IODNode* GetNode(const ODComponentId nodeId)

Get an interface pointer to the given node.

virtual IODEdge* GetEdge(const ODComponentId edgeId)

Get an interface pointer to the given edge.