Package | Description |
---|---|
com.yworks.yfiles.layout.tree |
Provides tree layout style algorithms.
|
Modifier and Type | Method and Description |
---|---|
protected ParentConnectorDirection |
SimpleNodePlacer.determineChildConnector(Node child)
Provides
NORTH as connector direction for the child nodes. |
protected ParentConnectorDirection |
LeftRightNodePlacer.determineChildConnector(Node child)
Determines a connector direction for the given child node.
|
protected ParentConnectorDirection |
LayeredNodePlacer.determineChildConnector(Node child)
Returns
NORTH for every given child node. |
protected ParentConnectorDirection |
GridNodePlacer.determineChildConnector(Node child)
Returns
NORTH for every given child node. |
protected ParentConnectorDirection |
FreeNodePlacer.determineChildConnector(Node child)
Determines a connector direction for the given child node.
|
protected ParentConnectorDirection |
DoubleLineNodePlacer.determineChildConnector(Node child)
Returns
NORTH for every given child node. |
protected ParentConnectorDirection |
DelegatingNodePlacer.determineChildConnector(Node child)
Determines a connector direction for the given child node.
|
protected ParentConnectorDirection |
DefaultNodePlacer.determineChildConnector(Node child)
Determines a connector direction for the given child node depending on the selected
child placement . |
protected ParentConnectorDirection |
BusNodePlacer.determineChildConnector(Node child)
Determines a connector direction for the given child node.
|
protected ParentConnectorDirection |
AssistantNodePlacer.determineChildConnector(Node child)
Determines a connector direction for the given child node.
|
protected ParentConnectorDirection |
AspectRatioNodePlacer.determineChildConnector(Node child)
Determines a connector direction for the given child node depending on whether or not the child nodes are arranged
horizontally . |
protected abstract ParentConnectorDirection |
AbstractRotatableNodePlacer.determineChildConnector(Node child)
Determines a connector direction for the given child node.
|
protected abstract ParentConnectorDirection |
AbstractNodePlacer.determineChildConnector(Node child)
Determines a connector direction for the given child node.
|
static ParentConnectorDirection |
ParentConnectorDirection.fromOrdinal(int ordinal) |
static ParentConnectorDirection |
ParentConnectorDirection.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParentConnectorDirection[] |
ParentConnectorDirection.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
TreeLayout.SubtreeShape |
LeafNodePlacer.placeSubtree(IDataProvider nodeShapeProvider,
IDataProvider subtreeShapeProvider,
LayoutGraph graph,
Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Creates a
TreeLayout.SubtreeShape for the local root node (a leaf node in this case) and adds target points to
the incoming edge. |
TreeLayout.SubtreeShape |
INodePlacer.placeSubtree(IDataProvider nodeShapeProvider,
IDataProvider subtreeShapeProvider,
LayoutGraph graph,
Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Arranges the
SubtreeShapes of the local root and its children and routes the edges that
connect them. |
TreeLayout.SubtreeShape |
GroupedNodePlacer.placeSubtree(IDataProvider nodeShapeProvider,
IDataProvider subtreeShapeProvider,
LayoutGraph graph,
Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Places the groups of
TreeLayout.SubtreeShape s according to their group IDs. |
TreeLayout.SubtreeShape |
DendrogramNodePlacer.placeSubtree(IDataProvider nodeShapeProvider,
IDataProvider subtreeShapeProvider,
LayoutGraph graph,
Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Arranges the
SubtreeShapes of the local root and its children as a dendrogram. |
TreeLayout.SubtreeShape |
DelegatingNodePlacer.placeSubtree(IDataProvider nodeShapeProvider,
IDataProvider subtreeShapeProvider,
LayoutGraph graph,
Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Places the
TreeLayout.SubtreeShape s of the child nodes using the two delegate node placers retrieved with PrimaryPlacer
and SecondaryPlacer . |
TreeLayout.SubtreeShape |
AssistantNodePlacer.placeSubtree(IDataProvider nodeShapeProvider,
IDataProvider subtreeShapeProvider,
LayoutGraph graph,
Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Delegates the arrangement of
TreeLayout.SubtreeShape s to an instance of LeftRightNodePlacer . |
TreeLayout.SubtreeShape |
AbstractRotatableNodePlacer.placeSubtree(IDataProvider nodeShapeProvider,
IDataProvider subtreeShapeProvider,
LayoutGraph graph,
Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Initializes the local data structures and then delegates the work to the abstract variant of this method
(
AbstractRotatableNodePlacer.placeSubtree(Node, ParentConnectorDirection) ). |
TreeLayout.SubtreeShape |
AbstractNodePlacer.placeSubtree(IDataProvider nodeShapeProvider,
IDataProvider subtreeShapeProvider,
LayoutGraph graph,
Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Initializes the local data structures and then delegates the work to the abstract variant of this method
(
AbstractNodePlacer.placeSubtree(Node, ParentConnectorDirection) ). |
protected RotatedSubtreeShape |
SimpleNodePlacer.placeSubtree(Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Places the children of the local root node in a single row.
|
protected RotatedSubtreeShape |
LeftRightNodePlacer.placeSubtree(Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Places the subtree shapes of the children left and right of a common vertical bus.
|
protected RotatedSubtreeShape |
LayeredNodePlacer.placeSubtree(Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Places the children of local root in layers.
|
protected RotatedSubtreeShape |
GridNodePlacer.placeSubtree(Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Places the children of a local root node in a grid.
|
protected RotatedSubtreeShape |
FreeNodePlacer.placeSubtree(Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Merges the rotated shapes of the given local root and its children and routes the edges between them.
|
protected RotatedSubtreeShape |
DoubleLineNodePlacer.placeSubtree(Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Places the children of the given local root alternating in two horizontal lines.
|
protected RotatedSubtreeShape |
DelegatingNodePlacer.placeSubtree(Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Arranges the local root relative to the subtree shape of its children.
|
protected TreeLayout.SubtreeShape |
DefaultNodePlacer.placeSubtree(Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Arranges the root node and its children.
|
protected RotatedSubtreeShape |
BusNodePlacer.placeSubtree(Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Places all children of the local root below and above a bus segment that is shared by the edges.
|
protected RotatedSubtreeShape |
AssistantNodePlacer.placeSubtree(Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Arranges the local root relative to the subtree shape of its children.
|
protected TreeLayout.SubtreeShape |
AspectRatioNodePlacer.placeSubtree(Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Arranges the
SubtreeShapes of children of the local root node in rows or columns that
fit the specified aspect ratio . |
protected abstract RotatedSubtreeShape |
AbstractRotatableNodePlacer.placeSubtree(Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Arranges the local root relative to the rotated subtree shapes of its children.
|
protected abstract TreeLayout.SubtreeShape |
AbstractNodePlacer.placeSubtree(Node localRoot,
ParentConnectorDirection parentConnectorDirection)
Arranges the local root relative to the
TreeLayout.SubtreeShape of its children. |
protected byte |
AbstractRotatableNodePlacer.translateDirectionToModel(ParentConnectorDirection realDirection)
Translates the given real direction of the resulting layout to the model direction of this
AbstractRotatableNodePlacer . |
protected byte |
AbstractRotatableNodePlacer.translateDirectionToReal(ParentConnectorDirection modelDirection)
Translates the given model direction to the real direction in the resulting layout.
|