Package | Description |
---|---|
com.yworks.yfiles.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
Modifier and Type | Field and Description |
---|---|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.BOTTOM
Position specifier that describes a label placement at the bottom inside the node.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.BOTTOM_LEFT
Position specifier that describes a label placement at the bottom-left inside the node.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.BOTTOM_RIGHT
Position specifier that describes a label placement at the bottom-right inside the node.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.CENTER
Position specifier that describes a label placement at the center of the node.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.CORNER_MASK
Position mask that constrains the positions to the corners outside the node.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.EAST
Position specifier that describes a label placement east of the node.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.EIGHT_POS_MASK
Position mask that constraints the positions to the eight node-external positions.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.INTERNAL_MASK
Position mask that constrains the positions to the nine node-internal positions.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.LEFT
Position specifier that describes a label placement at the left inside the node.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.NORTH
Position specifier that describes a label placement north of the node.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.NORTH_EAST
Position specifier that describes a label placement north-east of the node.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.NORTH_WEST
Position specifier that describes a label placement north-west of the node.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.RIGHT
Position specifier that describes a label placement at the right inside the node.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.SANDWICH_MASK
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.SIDES_MASK
Position mask that constrains the positions to the node's four sides.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.SOUTH
Position specifier that describes a label placement south of the node.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.SOUTH_EAST
Position specifier that describes a label placement south-east of the node.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.SOUTH_WEST
Position specifier that describes a label placement south-west of the node.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.TOP
Position specifier that describes a label placement at the top inside the node.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.TOP_LEFT
Position specifier that describes a label placement at the top-left inside the node.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.TOP_RIGHT
Position specifier that describes a label placement at the top-right inside the node.
|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.WEST
Position specifier that describes a label placement west of the node.
|
Modifier and Type | Method and Description |
---|---|
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.fromName(String name) |
static DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.fromOrdinal(int value) |
protected DiscreteNodeLabelPositions |
DiscreteNodeLabelPositions.fromOrdinalImpl(int ordinal) |
DiscreteNodeLabelPositions |
DiscreteNodeLabelLayoutModel.getCandidateMask()
Gets the candidate mask which specifies the valid positions for node labels.
|
protected DiscreteNodeLabelPositions[] |
DiscreteNodeLabelPositions.getItems() |
Modifier and Type | Method and Description |
---|---|
protected YOrientedRectangle |
DiscreteNodeLabelLayoutModel.getLabelPlacement(YDimension labelSize,
INodeLayout nodeLayout,
DiscreteNodeLabelPositions position)
Returns the oriented box of the label for the given label position.
|
Constructor and Description |
---|
DiscreteNodeLabelLayoutModel(DiscreteNodeLabelPositions candidateMask)
Creates a new instance of
DiscreteNodeLabelLayoutModel using the given candidate mask and insets. |
DiscreteNodeLabelLayoutModel(DiscreteNodeLabelPositions candidateMask,
double inset)
Creates a new instance of
DiscreteNodeLabelLayoutModel using the given candidate mask and insets. |