API Reference > OdDb Classes > OdDbEvalGraph Class > OdDbEvalGraph Methods > addEdge Method > OdDbEvalGraph::addEdge Method (OdDbEvalNodeId&, OdDbEvalNodeId&, bool)
OdDbEvalGraph::addEdge Method (OdDbEvalNodeId&, OdDbEvalNodeId&, bool)
Syntax
C++
virtual bool addEdge(const OdDbEvalNodeId& idFrom, const OdDbEvalNodeId& idTo, bool invertible);
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.  
bool invertible 
[in] True if and only if the edge is invertible. 

Adds the specified edge to this Graph object. 

 

An invertible edge can have its originating and terminating nodes swapped based on which of the nodes is activated.

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