API Reference > OdDb Classes > OdDbGraph Class > OdDbGraph Methods > OdDbGraph::addNode Method
OdDbGraph::addNode Method
Syntax
C++
void addNode(OdDbGraphNode* pNode);
Parameters 
Description 
OdDbGraphNode* pNode 
[in] Pointer to the GraphNode object. 

Adds the specifed GraphNode object to this Graph object. 

 

*pNode must be created with new(), and should not be deleted once added to this Graph object; This Graph object will delete the GraphNode when it is no longer needed.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.