GraphRelation::GetNextIncomingRelation
Defined in:
Returns the next incoming relation for a graph element.
TSGraph.h
Prototype
relationType *GetNextIncomingRelation(void) const;
Description
The GetNextIncomingRelation
function returns the next incoming relation for the graph element at which the relation for which the function is called finishes. If there is no next 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::GetFirstIncomingRelation
function for the graph element, and then call the GetNextIncomingRelation
function iteratively for the returned relations until nullptr
is returned.
See Also
GraphRelation::GetPreviousIncomingRelation
GraphRelation::GetPreviousOutgoingRelation