documentationfor yFiles for HTML 3.0.0.3

Properties

defaultPortAssignerin TreeLayoutGets or sets the default ITreeLayoutPortAssigner used for those nodes that do not have an individual port assigner specified.
portAssignersin TreeLayoutDataGets or sets the mapping from nodes to their ITreeLayoutPortAssigner.

Fields

PORT_ASSIGNER_DATA_KEYin TreeLayoutA data key for assigning ports to nodes.

Method Return Values

getPortAssigner (LayoutNode)in TreeLayoutReturns the ITreeLayoutPortAssigner instance that places the ports of the connecting edges of the given node.

Method Parameters

preProcess (IMapper<LayoutNode,ISubtreePlacer>, IMapper<LayoutNode,ITreeLayoutPortAssigner>, IMapper<LayoutNode,function(LayoutEdge,LayoutEdge):number>)in ISubtreePlacerProcessorPerforms preparations for the actual tree layout in a pre-processing step.
TreeLayout ()in TreeLayoutCreates a new TreeLayout instance with default settings.
TreeLayoutData ()in TreeLayoutData

Implementing Types

TreeLayoutPortAssignerThe TreeLayoutPortAssigner provides some simple port assignment styles for the TreeLayout.