documentationfor yFiles for HTML 2.6

Properties

modein DefaultTreeLayoutPortAssignmentGets or sets the mode that describes how ports are placed.

Method Parameters

DefaultPortAssignment (TreeLayoutPortAssignmentMode?, number?, )in DefaultTreeLayoutPortAssignmentCreates a new DefaultTreeLayoutPortAssignment instance using the given port assignment mode and ratio between the border and the ports and the gap between the ports themselves.
from (TreeLayoutPortAssignmentMode)in TreeLayoutPortAssignmentModeConverts the argument to TreeLayoutPortAssignmentMode.