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