Package | Description |
---|---|
com.yworks.yfiles.layout.tree |
Provides tree layout style algorithms.
|
Modifier and Type | Field and Description |
---|---|
static AbstractRotatableNodePlacer.Matrix |
AbstractRotatableNodePlacer.Matrix.DEFAULT
The identity matrix which does not apply any rotation or mirroring.
|
static AbstractRotatableNodePlacer.Matrix |
AbstractRotatableNodePlacer.Matrix.MIR_HOR
A matrix which applies a horizontal mirroring.
|
static AbstractRotatableNodePlacer.Matrix |
AbstractRotatableNodePlacer.Matrix.MIR_HOR_ROT90
A matrix which applies a horizontal mirroring and a counter-clockwise rotation by 90 degrees.
|
static AbstractRotatableNodePlacer.Matrix |
AbstractRotatableNodePlacer.Matrix.MIR_VERT
A matrix which applies a vertical mirroring.
|
static AbstractRotatableNodePlacer.Matrix |
AbstractRotatableNodePlacer.Matrix.MIR_VERT_ROT90
A matrix which applies a vertical mirroring and a counter-clockwise rotation by 90 degrees.
|
static AbstractRotatableNodePlacer.Matrix |
AbstractRotatableNodePlacer.Matrix.ROT180
A matrix which applies a rotation by 180 degrees.
|
static AbstractRotatableNodePlacer.Matrix |
AbstractRotatableNodePlacer.Matrix.ROT270
A matrix which applies a counter-clockwise rotation by 270 degrees.
|
static AbstractRotatableNodePlacer.Matrix |
AbstractRotatableNodePlacer.Matrix.ROT90
A matrix which applies a counter-clockwise rotation by 90 degrees.
|
Modifier and Type | Method and Description |
---|---|
AbstractRotatableNodePlacer.Matrix |
ClassicTreeLayout.getModificationMatrix()
Gets the modification matrix used for rotating / mirroring the layout.
|
AbstractRotatableNodePlacer.Matrix |
AbstractRotatableNodePlacer.getModificationMatrix()
Gets the modification matrix that defines the direction of the subtree.
|
AbstractRotatableNodePlacer.Matrix |
AbstractRotatableNodePlacer.Matrix.multiply(AbstractRotatableNodePlacer.Matrix other)
Multiplies this
AbstractRotatableNodePlacer.Matrix with the given other AbstractRotatableNodePlacer.Matrix . |
Modifier and Type | Method and Description |
---|---|
void |
TreeLayout.SubtreeShape.assignValuesTo(TreeLayout.SubtreeShape toShape,
AbstractRotatableNodePlacer.Matrix modificationMatrix)
Copies the state of this
TreeLayout.SubtreeShape instance to the given shape applying a modification matrix. |
TreeLayout.SubtreeShape |
TreeLayout.SubtreeShape.createCopy(AbstractRotatableNodePlacer.Matrix matrix)
Creates a clone of this
TreeLayout.SubtreeShape instance, modifying it using the provided modification matrix. |
boolean |
AbstractRotatableNodePlacer.Matrix.equalValues(AbstractRotatableNodePlacer.Matrix other)
Compares the values of the current
AbstractRotatableNodePlacer.Matrix with the values of the given AbstractRotatableNodePlacer.Matrix . |
AbstractRotatableNodePlacer.Matrix |
AbstractRotatableNodePlacer.Matrix.multiply(AbstractRotatableNodePlacer.Matrix other)
Multiplies this
AbstractRotatableNodePlacer.Matrix with the given other AbstractRotatableNodePlacer.Matrix . |
void |
ClassicTreeLayout.setModificationMatrix(AbstractRotatableNodePlacer.Matrix value)
Sets the modification matrix used for rotating / mirroring the layout.
|
static YPoint |
AbstractRotatableNodePlacer.translatePoint(AbstractRotatableNodePlacer.Matrix modificationMatrix,
YPoint realWorldPoint)
Translates a point from the real layout direction to the model direction using the given modification matrix.
|
Constructor and Description |
---|
AbstractRotatableNodePlacer(AbstractRotatableNodePlacer.Matrix modificationMatrix)
Creates a new instance of
AbstractRotatableNodePlacer whose direction is specified by the given modification
matrix. |
AssistantNodePlacer(AbstractRotatableNodePlacer.Matrix modificationMatrix)
Creates a new
AssistantNodePlacer instance that uses the transformation defined by the given matrix. |
BusNodePlacer(AbstractRotatableNodePlacer.Matrix modificationMatrix)
Creates a new
BusNodePlacer instance that uses the transformation defined by the given matrix. |
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. |
DoubleLineNodePlacer(AbstractRotatableNodePlacer.Matrix modificationMatrix)
Creates a new
DoubleLineNodePlacer instance whose direction is specified by the given modification matrix. |
GridNodePlacer(AbstractRotatableNodePlacer.Matrix modificationMatrix)
Creates a new
GridNodePlacer instance whose direction is specified by the given modification matrix. |
GridNodePlacer(AbstractRotatableNodePlacer.Matrix modificationMatrix,
AbstractRotatableNodePlacer.RootAlignment rootAlignment)
|
LayeredNodePlacer(AbstractRotatableNodePlacer.Matrix modificationMatrix,
Object id)
Creates a new
LayeredNodePlacer instance whose direction is specified by the given modification matrix. |
LeftRightNodePlacer(AbstractRotatableNodePlacer.Matrix modificationMatrix)
Creates a new
LeftRightNodePlacer instance using the given modification matrix. |
SimpleNodePlacer(AbstractRotatableNodePlacer.Matrix modificationMatrix)
Creates a new
SimpleNodePlacer instance that uses the given
modification matrix . |
SimpleNodePlacer(AbstractRotatableNodePlacer.Matrix modificationMatrix,
AbstractRotatableNodePlacer.RootAlignment rootAlignment)
|