Package | Description |
---|---|
com.yworks.yfiles.layout.tree |
Provides tree layout style algorithms.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultPortAssignment
The
DefaultPortAssignment provides some simple port assignment styles . |
Modifier and Type | Field and Description |
---|---|
static NodeDpKey<IPortAssignment> |
TreeLayout.PORT_ASSIGNMENT_DPKEY
A
DataProvider key for assigning ports to nodes.
|
Modifier and Type | Method and Description |
---|---|
IPortAssignment |
TreeLayout.getDefaultPortAssignment()
Gets the default
IPortAssignment instance for all subtrees that do not have a specific IPortAssignment
assigned using a IDataProvider . |
protected IPortAssignment |
TreeLayout.getPortAssignment(Node localRoot)
Returns the
IPortAssignment instance that places the ports of the connecting edges of the given node. |
Modifier and Type | Method and Description |
---|---|
ItemMapping<INode,IPortAssignment> |
TreeLayoutData.getPortAssignments()
Gets the mapping from nodes to their
IPortAssignment . |
Modifier and Type | Method and Description |
---|---|
void |
TreeLayout.setDefaultPortAssignment(IPortAssignment value)
Sets the default
IPortAssignment instance for all subtrees that do not have a specific IPortAssignment
assigned using a IDataProvider . |
Modifier and Type | Method and Description |
---|---|
void |
TreeLayoutData.setPortAssignments(ItemMapping<INode,IPortAssignment> value)
Sets the mapping from nodes to their
IPortAssignment . |