C4 Engine
C4 Engine API Documentation

GraphRelation::SetStartElement

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

void SetStartElement(elementType *start);

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

GraphRelation::GetStartElement

GraphRelation::GetFinishElement

GraphRelation::SetFinishElement