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