API Reference > OdDb Classes > OdDbEvalGraph Class > OdDbEvalGraph Methods > addEdge Method > OdDbEvalGraph::addEdge Method (OdDbEvalNodeId&, OdDbEvalNodeId&)
OdDbEvalGraph::addEdge Method (OdDbEvalNodeId&, OdDbEvalNodeId&)
Syntax
C++
virtual bool addEdge(const OdDbEvalNodeId& idFrom, const OdDbEvalNodeId& idTo);
Parameters 
Description 
const OdDbEvalNodeId& idFrom 
[in] Node ID of the node at the start of the edge.  
const OdDbEvalNodeId& idTo 
[in] Node ID of the node at the end of the edge. 

Adds the specified edge to this Graph object. 

 

Creates an outgoing reference to idTo in idFrom, and an incoming reference to idFrom in idTo.

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