GraphElement::GetFirstIncomingRelation
Defined in:  
Returns the first incoming relation for a graph element.
TSGraph.hPrototype
relationType *GetFirstIncomingRelation(void) const;
Description
The GetFirstIncomingRelation function returns the first incoming relation for a graph element. If there are no incoming relations, then the return value is nullptr.To iterate through all incoming relations for a graph element, first call the
GraphElement::GetFirstIncomingRelation function, and then call the GraphRelation::GetNextIncomingRelation function iteratively for the returned relations until nullptr is returned.
See Also
GraphElement::GetLastIncomingRelation
GraphElement::GetFirstOutgoingRelation
