Package | Description |
---|---|
com.yworks.yfiles.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
com.yworks.yfiles.layout.hierarchic |
Provides hierarchic layout style algorithms.
|
Modifier and Type | Field and Description |
---|---|
static MirrorModes |
MirrorModes.BOTTOM_TO_TOP
Mirroring specifier that defines that layout orientation
LayoutOrientation.BOTTOM_TO_TOP
will be mirrored. |
static MirrorModes |
MirrorModes.LEFT_TO_RIGHT
Mirroring specifier that defines that layout orientation
LayoutOrientation.LEFT_TO_RIGHT
will be mirrored. |
static MirrorModes |
MirrorModes.NONE
Mirroring specifier that can be used for preventing any mirroring of layout orientations.
|
static MirrorModes |
MirrorModes.RIGHT_TO_LEFT
Mirroring specifier that defines that layout orientation
LayoutOrientation.RIGHT_TO_LEFT
will be mirrored. |
static MirrorModes |
MirrorModes.TOP_TO_BOTTOM
Mirroring specifier that defines that layout orientation
LayoutOrientation.TOP_TO_BOTTOM
will be mirrored. |
Modifier and Type | Method and Description |
---|---|
static MirrorModes |
MirrorModes.fromName(String name) |
static MirrorModes |
MirrorModes.fromOrdinal(int value) |
protected MirrorModes |
MirrorModes.fromOrdinalImpl(int ordinal) |
protected MirrorModes[] |
MirrorModes.getItems() |
MirrorModes |
OrientationLayout.getMirrorMode()
Gets the mirror mask that defines which orientations this
OrientationLayout shall mirror. |
Modifier and Type | Method and Description |
---|---|
static Direction |
EdgeLabelOrientationSupport.getOrientedDirection(Direction direction,
LayoutOrientation orientation,
MirrorModes mirrorMask)
Transforms a direction of the layout to the oriented layout direction.
|
double |
PortCandidate.getXOffsetForLayoutOrientation(LayoutOrientation layoutOrientation,
MirrorModes mirrorMask)
Returns the X-offset of the
PortCandidate with respect to the center of the corresponding node for the given layout orientation
and mirror mask . |
double |
PortCandidate.getYOffsetForLayoutOrientation(LayoutOrientation layoutOrientation,
MirrorModes mirrorMask)
Returns the Y-offset of the
PortCandidate with respect to the center of the corresponding node for the given layout orientation
and mirror mask . |
static boolean |
EdgeLabelOrientationSupport.isOrientationMirrored(LayoutOrientation orientation,
MirrorModes mirrorMask)
Returns whether or not the orientation is mirrored.
|
void |
OrientationLayout.setMirrorMode(MirrorModes value)
Sets the mirror mask that defines which orientations this
OrientationLayout shall mirror. |
Modifier and Type | Method and Description |
---|---|
protected MirrorModes |
HierarchicLayout.getMirrorMode()
Returns the mirror mask of the
orientation layouter . |
MirrorModes |
AbstractPortConstraintOptimizer.getMirrorMode()
Gets the mirror mask that defines which orientations should be mirrored.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractPortConstraintOptimizer.setMirrorMode(MirrorModes value)
Sets the mirror mask that defines which orientations should be mirrored.
|