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 | Method and Description |
---|---|
static LayoutOrientation |
LayoutOrientation.fromOrdinal(int ordinal) |
LayoutOrientation |
MultiStageLayout.getLayoutOrientation()
Gets the main orientation of the layout.
|
LayoutOrientation |
OrientationLayout.getOrientation()
Gets the main direction of the layout.
|
static LayoutOrientation |
LayoutOrientation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LayoutOrientation[] |
LayoutOrientation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
PortDirections |
PortCandidate.getDirectionForLayoutOrientation(LayoutOrientation layoutOrientation)
Returns the direction of this
PortCandidate instance with respect to the given
layout orientation . |
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)
Returns the X-offset of the
PortCandidate with respect to the center of the corresponding node for the given
layout orientation . |
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)
Returns the Y-offset of the
PortCandidate with respect to the center of the corresponding node for the given
layout orientation . |
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 . |
boolean |
OrientationLayout.isOrientationMirrored(LayoutOrientation orientation)
Returns whether or not this
OrientationLayout instance will mirror the graph for a given layout orientation. |
static boolean |
EdgeLabelOrientationSupport.isOrientationMirrored(LayoutOrientation orientation,
MirrorModes mirrorMask)
Returns whether or not the orientation is mirrored.
|
void |
MultiStageLayout.setLayoutOrientation(LayoutOrientation value)
Sets the main orientation of the layout.
|
void |
OrientationLayout.setOrientation(LayoutOrientation value)
Sets the main direction of the layout.
|
PortConstraint |
PortCandidate.toPortConstraintForLayoutOrientation(LayoutOrientation layoutOrientation)
A utility method that converts the current
PortCandidate instance to a PortConstraint with respect to
the given layout orientation . |
Constructor and Description |
---|
OrientationLayout(LayoutOrientation orientation)
Creates a new
OrientationLayout instance using the given orientation. |
Modifier and Type | Method and Description |
---|---|
LayoutOrientation |
AbstractPortConstraintOptimizer.getLayoutOrientation()
Gets the layout orientation.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractPortConstraintOptimizer.setLayoutOrientation(LayoutOrientation value)
Sets the layout orientation.
|