Determines whether junction nodes should explicitely be displayed for parallel subgraphs.

Namespace: TreeLayoutHelper.FlowLayout
Assembly: TreeLayoutHelper (in TreeLayoutHelper.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#
void AddJunctionNodes(
	TNode parallelNode,
	ref bool junctionBefore,
	ref bool junctionAfter
)
Visual Basic
Sub AddJunctionNodes ( _
	parallelNode As TNode, _
	ByRef junctionBefore As Boolean, _
	ByRef junctionAfter As Boolean _
)
Visual C++
void AddJunctionNodes(
	TNode parallelNode, 
	bool% junctionBefore, 
	bool% junctionAfter
)
J#
void AddJunctionNodes(
	TNode parallelNode,
	/** @ref */boolean junctionBefore,
	/** @ref */boolean junctionAfter
)
JScript
function AddJunctionNodes(
	parallelNode : TNode, 
	junctionBefore : boolean, 
	junctionAfter : boolean
)
JavaScript
function AddJunctionNodes(parallelNode, junctionBefore, junctionAfter);

Parameters

parallelNode
Type: TNode
The node whose children are displayed as parallel subgraphs.
junctionBefore
Type: System..::..Boolean%
Indicates whether parallelNode should be explicitely displayed before the junction.
junctionAfter
Type: System..::..Boolean%
Indicates whether parallelNode should be explicitely displayed after the junction.

Remarks

This method will be called only for nodes whose children are transformed into parallel subgraphs, that is, nodes for which ClassifyNode(TNode) returns Parallel. For any other node, it may throw an ArgumentException.

For any parallel-subgraph node, the junctionBefore and junctionAfter arguments can be used to indicate whether junction nodes should be displayed before and after the parallel subgraphs, respectively. Both arguments are initialized with falseFalsefalsefalse (False in Visual Basic), so not setting any of them will result in no junction node being shown. Note that if there is no junction node shown, the junction might be merged with another junction on a higher level.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionnode is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..ArgumentExceptionparallelNode is not transformed into a set of parallel subgraphs.

See Also