API Reference > OdDb Classes > OdDbGraphNode Class
OdDbGraphNode Class
OdDbGraphNodeOdDbGraphNodeOdDbGraphNode
Syntax
C++
class OdDbGraphNode : public OdRxObject;

DbGraph.h

This class implements generic node objects for generic graphs.

A graph consists of a collection of nodes bi-directionally linked by directional edges. 

An edge connected to a node is represented as a pointer or reference to the node at the other end of the edge. 

References are classified as either incoming or outgoing. Every incoming reference has a corresponding outgoing reference and vice versa. 

Each GraphNode object can have any number of references associated with it, enabling the implementation of any graph structure.

  • OdDbGraph
  • OdDbGraphStack
  • OdDbXrefGraph
  • OdDbXrefGraphNode

 

Corresponding C++ library: TD_Db 

 

 
Name 
Description 
 
This is ~OdDbGraphNode, a member of class OdDbGraphNode. 
 
This is OdDbGraphNode, a member of class OdDbGraphNode. 
 
Name 
Description 
 
This is record OdDbGraphNode::Flags. 
 
Name 
Description 
 
Creates an outgoing reference, in this GraphNode object, to the specified GraphNode object.
 
 
Clears the specified set flag bits in this GraphNode object.
 
 
Returns the specified incoming cyclical reference of this GraphNode object.
 
 
Returns the specified outgoing cyclical reference of this GraphNode object.
 
 
data 
Returns the data associated with this GraphNode object. 
 
Removes all references in and to this GraphNode object. 
 
in 
Returns the specified incoming reference of this GraphNode object.
 
 
Returns true if and only if this GraphNode object is part of a cyclical reference. 
 
Returns true if and only if the all the specified set flag bits are set in this GraphNode object.
 
 
Sets the specified set flag bits in this GraphNode object.
 
 
Marks this GraphNode object and all nested outgoing GraphNode objects with the specified flags.
 
 
Returns the next outgoing cyclical reference of this GraphNode object. 
 
Returns the number of incoming cyclical references associated with this GraphNode object. 
 
Returns the number of outgoing cyclical references associated with this GraphNode object. 
 
Return the number of incoming references associated with this GraphNode object. 
 
Return the number of outgoing references associated with this GraphNode object. 
 
This is ODRX_DECLARE_MEMBERS, a member of class OdDbGraphNode. 
 
out 
Returns the specified outgoing reference of this GraphNode object.
 
 
Returns the Graph object to which this GraphNode object is attached. 
 
Removes the outgoing reference, in this GraphNode object, to the specified GraphNode object.
 
 
Sets the data associated with this GraphNode object.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.