Sage Modeling and Simulation Library

IProcedureFunctionChart..::..Bind Method (IPfcNode, IPfcNode, IPfcLinkElement%, IPfcNode%, IPfcLinkElement%, Boolean)

Binds the two linkables. If both are steps, it inserts a transition between them, and if both are transitions, it inserts a step between them - in both cases, creating links between the 'from' node, the shim node, and the 'to' node. If piggybacking is allowed, and a suitable path already exists, we use that path instead. A suitable path is either a link between differently-typed nodes, or a link-node-link path between same-typed nodes, where the interstitial node is simple, and opposite-typed.

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

Syntax


void Bind(
	IPfcNode from,
	IPfcNode to,
	out IPfcLinkElement iPfcLink1,
	out IPfcNode shimNode,
	out IPfcLinkElement iPfcLink2,
	bool allowPiggybacking
)

Parameters

from
Type: Highpoint.Sage.Graphs.PFC..::..IPfcNode
The node from which a connection is being established.
to
Type: Highpoint.Sage.Graphs.PFC..::..IPfcNode
The node to which a connection is being established.
iPfcLink1
Type: Highpoint.Sage.Graphs.PFC..::..IPfcLinkElement%
The first link element.
shimNode
Type: Highpoint.Sage.Graphs.PFC..::..IPfcNode%
The shim node, if one was created.
iPfcLink2
Type: Highpoint.Sage.Graphs.PFC..::..IPfcLinkElement%
The second link element, if one was created.
allowPiggybacking
Type: Boolean
if set to true, we allow an existing link to serve the purpose of this requested link.