Package | Description |
---|---|
com.yworks.yfiles.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
com.yworks.yfiles.layout.router.polyline |
Provides classes and interfaces for automatic polyline routing of the edges of a graph.
|
Modifier and Type | Field and Description |
---|---|
static Direction |
Direction.DOWN
Decodes the down direction.
|
static Direction |
Direction.LEFT
Decodes the left direction.
|
static Direction |
Direction.RIGHT
Decodes the right direction.
|
static Direction |
Direction.UP
Decodes the up direction.
|
Modifier and Type | Method and Description |
---|---|
Direction |
Direction.getMirror()
Gets the mirror direction.
|
static Direction |
EdgeLabelOrientationSupport.getOrientedDirection(Direction direction,
LayoutOrientation orientation,
MirrorModes mirrorMask)
Transforms a direction of the layout to the oriented layout direction.
|
Direction |
Direction.getTurnCCW()
Gets the direction that follows this direction in counterclockwise order.
|
Direction |
Direction.getTurnCW()
Gets the direction that follows this direction in clockwise order.
|
Modifier and Type | Method and Description |
---|---|
static YVector |
EdgeLabelOrientationSupport.getEdgeLabelUpVector(PreferredPlacementDescriptor descriptor,
Direction segmentDirection)
Calculates the up vector of an edge label considering the preferred placement of the label as well as the direction of
the edge segment the label is attached to.
|
static Direction |
EdgeLabelOrientationSupport.getOrientedDirection(Direction direction,
LayoutOrientation orientation,
MirrorModes mirrorMask)
Transforms a direction of the layout to the oriented layout direction.
|
void |
EdgeLabelOrientationSupport.preProcessLabel(Graph graph,
LabelLayoutData label,
Direction segmentDirection)
Prepares the label for the core layout algorithm.
|
static void |
EdgeLabelOrientationSupport.updateLabelOrientation(LabelLayoutData label,
Direction segmentDirection)
Calculates and sets the up vector of an edge label considering the preferred placement of the label as well as the
direction of the edge segment the label is attached to.
|
Modifier and Type | Method and Description |
---|---|
Direction |
CellSegmentInfo.getDirection()
Gets the direction to which the segment of this info points.
|
Direction |
AbstractSegmentInfo.getDirection()
Gets the
Direction to which the segment of this info points. |
Direction |
EdgeCellInfo.getEnterDirection()
Gets the
direction in which the edge enters this cell. |
Direction |
CellEntrance.getEnterDirection()
Gets the direction from which this
cell was entered. |
Direction |
EdgeCellInfo.getExitDirection()
Gets the
direction in which the edge exits this cell. |
Modifier and Type | Method and Description |
---|---|
void |
CellEntrance.setEnterDirection(Direction value)
Sets the direction from which this
cell was entered. |
static PartitionCell.PartitionCellBorder |
PartitionCell.PartitionCellBorder.valueOfEnterDirection(Direction direction)
Returns the type of the border that is passed through when entering a
PartitionCell in the given direction. |
static PartitionCell.PartitionCellBorder |
PartitionCell.PartitionCellBorder.valueOfExitDirection(Direction direction)
Returns the type of the border that is passed through when exiting a
PartitionCell in the given direction. |
Constructor and Description |
---|
AbstractSegmentInfo(Edge edge,
int segmentIndex,
Direction direction,
Interval locationRange,
Interval minExtension,
Interval maxExtension)
Creates a new instance of
AbstractSegmentInfo . |
CellSegmentInfo(Edge edge,
int segmentIndex,
Direction direction,
Interval locationRange,
Interval minExtension,
Interval maxExtension,
PartitionCell cell)
Creates a new
CellSegmentInfo instance. |
EdgeCellInfo(Edge edge,
PartitionCell cell,
OrthogonalInterval enterInterval,
OrthogonalInterval exitInterval,
Direction enterDirection,
Direction exitDirection,
int enterSegmentNo)
Creates a new
EdgeCellInfo instance. |
SegmentInfo(Edge edge,
int segmentIndex,
Direction direction,
Interval locationRange,
Interval minExtension,
Interval maxExtension,
List<Object> cellSegmentInfos)
Creates a new instance of
SegmentInfo with the given information. |