Sage Modeling and Simulation Library

ProcedureFunctionChart..::..Unbind Method (IPfcNode, IPfcNode, Boolean)

Unbinds the two nodes, removing ONE link between them. Returns false if they were not connected directly in the first place. If called directly by the user, this API can result in an illegal PFC graph. Note that if they are connected by two sets of links, this will not completely disconnect them - for infallible disconnection, call this method repeatedly until it returns false.

Namespace:  Highpoint.Sage.Graphs.PFC
Assembly:  Sage4 (in Sage4.dll)

Syntax


public bool Unbind(
	IPfcNode from,
	IPfcNode to,
	bool skipStructureUpdating
)

Parameters

from
Type: Highpoint.Sage.Graphs.PFC..::..IPfcNode
The upstream node of the unbinding.
to
Type: Highpoint.Sage.Graphs.PFC..::..IPfcNode
The downstream node of the unbinding.
skipStructureUpdating
Type: Boolean
if set to true skips the UpdateStructure. Useful for optimizing bulk updates.

Return Value