C4 Engine
C4 Engine API Documentation

GraphElement::FindOutgoingRelation

Defined in:  TSGraph.h
Returns the outgoing relation with a specific finish element.
Prototype

relationType *FindOutgoingRelation(const GraphElementBase *finish) const;

Parameters
finish The graph element at which the relation finishes.
Description
The FindOutgoingRelation function searches for an outgoing relation starting at the graph element for which the function is called and finishing at the graph element specified by the finish parameter. If such a relation is found, then it is returned. Otherwise, the return value is nullptr.
See Also

GraphElement::FindIncomingRelation