Package | Description |
---|---|
com.yworks.yfiles.layout.tree |
Provides tree layout style algorithms.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IFromSketchNodePlacer
A
IFromSketchNodePlacer arranges the subtrees while taking the initial locations of the nodes into account. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractNodePlacer
Abstract base class for implementations of the
INodePlacer interface. |
class |
AbstractRotatableNodePlacer
Abstract base class for
INodePlacer s that support rotations of the subtrees. |
class |
AspectRatioNodePlacer
This
INodePlacer places the subtrees such that the overall aspect ratio of the arranged subtree will be close to
a preferred aspect ratio. |
class |
AssistantNodePlacer
The
AssistantNodePlacer places nodes that are marked as assistants left and right of their parents and all other
nodes below the assistant nodes. |
class |
BusNodePlacer
The
BusNodePlacer creates a bus to which all child nodes and the local root node are connected. |
class |
DefaultNodePlacer
DefaultNodePlacer is the default implementation of interface INodePlacer . |
class |
DelegatingNodePlacer
DelegatingNodePlacer delegates the arrangement of the children to two different INodePlacer s. |
class |
DendrogramNodePlacer
The
DendrogramNodePlacer arranges subtrees as dendrograms. |
class |
DoubleLineNodePlacer
The
DoubleLineNodePlacer arranges the children of a local root alternating in two lines. |
class |
FreeNodePlacer
A
FreeNodePlacer is a simple pseudo-placer. |
class |
GridNodePlacer
The
GridNodePlacer arranges the shapes of the children of a local root in a grid. |
class |
GroupedNodePlacer
This
INodePlacer places the children of a local root in groups. |
class |
LayeredNodePlacer
A
LayeredNodePlacer arranges the nodes of a subtree respecting layers. |
class |
LeafNodePlacer
A
LeafNodePlacer creates a SubtreeShape for a leaf node and routes its incoming
edge at the target side. |
class |
LeftRightNodePlacer
The
LeftRightNodePlacer arranges the children in a subtree on the left and the right of a vertical bus. |
class |
SimpleNodePlacer
The
SimpleNodePlacer arranges all children of a local root in a single row. |
Modifier and Type | Field and Description |
---|---|
static NodeDpKey<INodePlacer> |
TreeLayout.NODE_PLACER_DPKEY
A
DataProvider key for specifying a child node placer for each node.
|
Modifier and Type | Method and Description |
---|---|
INodePlacer |
AssistantNodePlacer.getChildNodePlacer()
Gets the
INodePlacer instance that places the non-assistant children. |
INodePlacer |
TreeLayout.getDefaultLeafPlacer()
Gets the default
INodePlacer instance that places the leaf nodes of the tree. |
INodePlacer |
TreeLayout.getDefaultNodePlacer()
Gets the default
INodePlacer instance that arranges all subtrees that do not have a specific INodePlacer
assigned using a IDataProvider . |
protected INodePlacer |
TreeLayout.getNodePlacer(Node localRoot)
Returns the
INodePlacer instance that is used for the placement of the local root node and the
TreeLayout.SubtreeShape s. |
INodePlacer |
DelegatingNodePlacer.getPrimaryPlacer()
Gets the
INodePlacer instance that will arrange the upper-left part of the graph. |
INodePlacer |
DelegatingNodePlacer.getSecondaryPlacer()
Gets the
INodePlacer instance that will arrange the lower-right part of the graph. |
Modifier and Type | Method and Description |
---|---|
ItemMapping<INode,INodePlacer> |
TreeLayoutData.getNodePlacers()
Gets the mapping from nodes to their
INodePlacer . |
Modifier and Type | Method and Description |
---|---|
void |
AssistantNodePlacer.setChildNodePlacer(INodePlacer value)
Sets the
INodePlacer instance that places the non-assistant children. |
void |
TreeLayout.setDefaultLeafPlacer(INodePlacer value)
Sets the default
INodePlacer instance that places the leaf nodes of the tree. |
void |
TreeLayout.setDefaultNodePlacer(INodePlacer value)
Sets the default
INodePlacer instance that arranges all subtrees that do not have a specific INodePlacer
assigned using a IDataProvider . |
Modifier and Type | Method and Description |
---|---|
void |
TreeLayoutData.setNodePlacers(ItemMapping<INode,INodePlacer> value)
Sets the mapping from nodes to their
INodePlacer . |
Constructor and Description |
---|
DelegatingNodePlacer(AbstractRotatableNodePlacer.Matrix modificationMatrix,
INodePlacer placerUpperLeft,
INodePlacer placerLowerRight)
Creates a new
DefaultNodePlacer instance with default settings using the given
modification matrix and the given node placers as delegates. |
GroupedNodePlacer(INodePlacer groupPlacer,
INodePlacer childPlacer)
Creates a new
GroupedNodePlacer instance. |