ILabelLayout defines the properties of a label from the perspective of a labeling algorithm.
Inheritance Hierarchy
ILabelLayout
Remarks
Both node and edge labels need to implement this interface. It describes the size and position of a label.
Note: To avoid inconsistencies, changing the model parameter should always be combined with updating the corresponding oriented box.
Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.layout.ILabelLayout
See Also
Properties
Gets the bounding box of the label.
Remarks
The bounding box is the smallest, paraxial rectangle that contains the whole label.
Gets the box of the label.
Remarks
This box matches the area that is covered by the label. The up vector of the rectangle encodes the orientation of the label.