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