documentationfor yFiles for HTML 2.6

Properties

defaultPortAssignmentin TreeLayoutGets or sets the default ITreeLayoutPortAssignment instance for all subtrees that do not have a specific ITreeLayoutPortAssignment assigned using a IDataProvider.
portAssignmentsin TreeLayoutDataGets or sets the mapping from nodes to their ITreeLayoutPortAssignment.

Fields

PORT_ASSIGNMENT_DP_KEYin TreeLayoutA data provider key for assigning ports to nodes.

Method Return Values

getPortAssignment (YNode)in TreeLayoutReturns the ITreeLayoutPortAssignment instance that places the ports of the connecting edges of the given node.

Method Parameters

TreeLayout ()in TreeLayoutCreates a new TreeLayout instance with default settings.
TreeLayoutData ()in TreeLayoutDataCreates a new instance of TreeLayoutData which helps configuring TreeLayout.