C4 Engine
C4 Engine API Documentation

GraphRelation::SetFinishElement

Defined in:  TSGraph.h
Sets the graph element at which a relation finishes.
Prototype

void SetFinishElement(elementType *finish);

Parameters
finish The new finish element. This may not be nullptr.
Description
The SetFinishElement function sets the graph element at which a relation finishes to that specified by the finish parameter. The relation is removed from the list of incoming relations for its previous finish element, and it is added to the list of incoming relations for its new finish element.
See Also

GraphRelation::GetFinishElement

GraphRelation::GetStartElement

GraphRelation::SetStartElement