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