Interface | Description |
---|---|
IFromSketchNodePlacer |
A
IFromSketchNodePlacer arranges the subtrees while taking the initial locations of the nodes into account. |
INodePlacer |
A
INodePlacer is responsible for the arrangement of a local root node and all of its subtrees. |
IPortAssignment |
A
IPortAssignment places the ports of edges connecting to the same node. |
IProcessor |
A
IProcessor provides the possibility for each INodePlacer to prepare (and clean up) the graph for the
children of the local root. |
Class | Description |
---|---|
AbstractNodePlacer |
Abstract base class for implementations of the
INodePlacer interface. |
AbstractRotatableNodePlacer |
Abstract base class for
INodePlacer s that support rotations of the subtrees. |
AbstractRotatableNodePlacer.Matrix |
A matrix describes the rotation of the subtree handled by
AbstractRotatableNodePlacer . |
AbstractRotatableNodePlacer.RootAlignment |
A
RootAlignment describes how a local root node is arranged in relation to its children. |
AspectRatioNodePlacer |
This
INodePlacer places the subtrees such that the overall aspect ratio of the arranged subtree will be close to
a preferred aspect ratio. |
AspectRatioTreeLayout |
The
AspectRatioTreeLayout arranges tree graphs in a compact fashion. |
AspectRatioTreeLayoutData |
Specifies custom data for the
AspectRatioTreeLayout . |
AssistantNodePlacer |
The
AssistantNodePlacer places nodes that are marked as assistants left and right of their parents and all other
nodes below the assistant nodes. |
BalloonLayout |
A tree layout algorithm that arranges the subtrees of the tree in a balloon-like fashion.
|
BalloonLayout.NodeInfo |
Encapsulates information bound to a node while the algorithm calculates a layout.
|
BalloonLayoutData |
Specifies custom data for the
BalloonLayout . |
BusNodePlacer |
The
BusNodePlacer creates a bus to which all child nodes and the local root node are connected. |
ClassicTreeLayout |
This layout algorithm arranges graphs with a tree structure.
|
DefaultNodePlacer |
DefaultNodePlacer is the default implementation of interface INodePlacer . |
DefaultPortAssignment |
The
DefaultPortAssignment provides some simple port assignment styles . |
DelegatingNodePlacer |
DelegatingNodePlacer delegates the arrangement of the children to two different INodePlacer s. |
DendrogramNodePlacer |
The
DendrogramNodePlacer arranges subtrees as dendrograms. |
DoubleLineNodePlacer |
The
DoubleLineNodePlacer arranges the children of a local root alternating in two lines. |
FreeNodePlacer |
A
FreeNodePlacer is a simple pseudo-placer. |
GridNodePlacer |
The
GridNodePlacer arranges the shapes of the children of a local root in a grid. |
GroupedNodePlacer |
This
INodePlacer places the children of a local root in groups. |
LayeredNodePlacer |
A
LayeredNodePlacer arranges the nodes of a subtree respecting layers. |
LeafNodePlacer |
A
LeafNodePlacer creates a SubtreeShape for a leaf node and routes its incoming
edge at the target side. |
LeftRightNodePlacer |
The
LeftRightNodePlacer arranges the children in a subtree on the left and the right of a vertical bus. |
MultiParentDescriptor |
The
MultiParentDescriptor provides style information for multi-parent structures. |
NodeOrderComparator |
The
NodeOrderComparator compares edges according to a specified order. |
RotatedSubtreeShape |
Decorates a SubtreeShape and provides rotated access on it.
|
SimpleNodePlacer |
The
SimpleNodePlacer arranges all children of a local root in a single row. |
TreeComponentLayout |
The
TreeComponentLayout arranges tree-like subgraph structures in a mixed layout style. |
TreeLayout |
This layout algorithm arranges graphs with a tree structure.
|
TreeLayout.SubtreeShape |
A
TreeLayout.SubtreeShape represents the position and the borders of a subtree. |
TreeLayoutData |
Specifies custom data for the
TreeLayout . |
TreeReductionStage |
The
TreeReductionStage temporarily reduces general graphs to trees. |
TreeReductionStageData |
Specifies custom data for the
TreeReductionStage . |
Enum | Description |
---|---|
BorderLineSide |
Side constant that defines the index of the eastern border line.
|
ChildAlignmentPolicy | |
ChildOrderingPolicy | |
ChildPlacement | |
ConnectorDirection |
A direction constant that describes that the last connector segment points up.
|
EdgeRoutingStyle | |
FillStyle | |
InterleavedMode | |
LayeredRoutingStyle | |
LeafPlacement | |
MultiParentRoutingStyle | |
NodeLabelingPolicy | |
ParentConnectorDirection | |
PortAssignmentMode | |
PortStyle | |
RootAlignment | |
RootNodePolicy | |
RootPlacement | |
RoutingStyle | |
SubtreeArrangement |
A direction specifier for placing the child nodes next to each other in direction of the actual
layout orientation , with the edges
connecting in the direction of flow. |
Provides tree layout style algorithms.
Implementations support radial layout of (sub)trees, compact layout obeying a given aspect ratio, and also horizontal/vertical layout of directed (and undirected) trees.
Class ClassicTreeLayout
arranges directed and undirected trees in a main layout direction.
Class TreeLayout
enables the use of INodePlacer
implementations which are invoked to arrange the subtrees. Predefined node placers that inherit from abstract class AbstractRotatableNodePlacer
allow for rotating subtrees.
Note that TreeLayout
can be used to emulate the results generated by ClassicTreeLayout
.
Default tree layout
Balloon layout
Dendrogram layout
General graph, non-tree edges are marked
See the yFiles Developer's Guide section on Tree Layout for descriptions of the yFiles tree layout style algorithms.
The section Generic Tree Layout extensively discusses the advanced capabilities of class TreeLayout
and also its numerous INodePlacer
implementations.