API Reference > OdDb Classes > OdDbGraph Class > OdDbGraph Methods > OdDbGraph::rootNode Method
OdDbGraph::rootNode Method
Syntax
C++
OdDbGraphNode* rootNode() const;

Returns the root (first) GraphNode object of this Graph object.

Returns a null pointer if isEmpty().

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