Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.layout.LabelPlacements
See Also
PreferredPlacementDescriptor.newSharedInstance,
PreferredPlacementDescriptor.placeAlongEdge,
PreferredPlacementDescriptor.sideOfEdge
Constants
Preferred placement specifier for edge labels which expresses that the label should be placed directly at the source port of the edge.
Sample Graphs
Placement at the source port is currently only supported by HierarchicLayout when enabling integrated edge labeling.
Preferred placement specifier for edge labels which expresses that the label should be placed directly at the target port of the edge.
Sample Graphs
Placement at the target port is currently only supported by HierarchicLayout when enabling integrated edge labeling.
Preferred placement specifier for edge labels which expresses that the label should be placed on the left hand side of the edge path.
Remarks
The side is interpreted relative to the direction of the edge, if no different side reference is defined.
Sample Graphs
Preferred placement specifier for edge labels which expresses that the label should be placed on the right hand side of the edge path.
Remarks
The side is interpreted relative to the direction of the edge, if no different side reference is defined.
Sample Graphs
Static Methods
Converts the argument to LabelPlacements.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - LabelPlacements
- The value to convert to LabelPlacements.
Returns
- ↪LabelPlacements
- Either
value
if it is already a LabelPlacements or an appropriate converted value.