GraphElement::GetFirstOutgoingRelation
Defined in:
Returns the first outgoing relation for a graph element.
TSGraph.h
Prototype
relationType *GetFirstOutgoingRelation(void) const;
Description
The GetFirstOutgoingRelation
function returns the first 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::GetFirstOutgoingRelation
function, and then call the GraphRelation::GetNextOutgoingRelation
function iteratively for the returned relations until nullptr
is returned.
See Also
GraphElement::GetLastOutgoingRelation
GraphElement::GetFirstIncomingRelation