GraphElement::GetLastIncomingRelation
Defined in:
Returns the last incoming relation for a graph element.
TSGraph.h
Prototype
relationType *GetLastIncomingRelation(void) const;
Description
The GetLastIncomingRelation
function returns the last 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::GetLastIncomingRelation
function, and then call the GraphRelation::GetPreviousIncomingRelation
function iteratively for the returned relations until nullptr
is returned.
See Also
GraphElement::GetFirstIncomingRelation
GraphElement::GetFirstOutgoingRelation