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 LabelPlacements |
LabelPlacements.ALONG_EDGE_MASK
Placement specifier mask that masks all placement specifiers that describe the placement along the edge.
|
static LabelPlacements |
LabelPlacements.ANYWHERE
Preferred placement specifier for edge labels which expresses that the label can be placed anywhere along the edge or on
any side of the edge.
|
static LabelPlacements |
LabelPlacements.AT_CENTER
Preferred placement specifier for edge labels which expresses that the label should be placed near the center of the
edge path.
|
static LabelPlacements |
LabelPlacements.AT_SOURCE
Preferred placement specifier for edge labels which expresses that the label should be placed near the source node of an
edge.
|
static LabelPlacements |
LabelPlacements.AT_SOURCE_PORT
Preferred placement specifier for edge labels which expresses that the label should be placed directly at the source
port of the edge.
|
static LabelPlacements |
LabelPlacements.AT_TARGET
Preferred placement specifier for edge labels which expresses that the label should be placed near the target node of an
edge.
|
static LabelPlacements |
LabelPlacements.AT_TARGET_PORT
Preferred placement specifier for edge labels which expresses that the label should be placed directly at the target
port of the edge.
|
static LabelPlacements |
LabelPlacements.LEFT_OF_EDGE
Preferred placement specifier for edge labels which expresses that the label should be placed on the left hand side of
the edge path.
|
static LabelPlacements |
LabelPlacements.ON_EDGE
Preferred placement specifier for edge labels which expresses that the label should be placed on the path of the edge.
|
static LabelPlacements |
LabelPlacements.ON_SIDE_OF_EDGE_MASK
Placement specifier mask that masks all placement specifiers that describe the side of the edge.
|
static LabelPlacements |
LabelPlacements.RIGHT_OF_EDGE
Preferred placement specifier for edge labels which expresses that the label should be placed on the right hand side of
the edge path.
|
Modifier and Type | Method and Description |
---|---|
static LabelPlacements |
LabelPlacements.fromName(String name) |
static LabelPlacements |
LabelPlacements.fromOrdinal(int value) |
protected LabelPlacements |
LabelPlacements.fromOrdinalImpl(int ordinal) |
protected LabelPlacements[] |
LabelPlacements.getItems() |
LabelPlacements |
PreferredPlacementDescriptor.getPlaceAlongEdge()
Gets the preferred placement along the edge.
|
LabelPlacements |
PreferredPlacementDescriptor.getSideOfEdge()
Gets the preferred side of the edge.
|
Modifier and Type | Method and Description |
---|---|
static PreferredPlacementDescriptor |
PreferredPlacementDescriptor.newSharedInstance(LabelPlacements placement)
Returns an immutable descriptor instance for the specified placement.
|
void |
PreferredPlacementDescriptor.setPlaceAlongEdge(LabelPlacements value)
Sets the preferred placement along the edge.
|
void |
PreferredPlacementDescriptor.setSideOfEdge(LabelPlacements value)
Sets the preferred side of the edge.
|