The model parameter that encodes a label position within FreeNodeLabelLayoutModel.
Inheritance Hierarchy
FreeNodeLabelLayoutModelParameter
Remarks
It represents every possible location in relation to the node. The point describes the offset of the label's center to the upper-left corner of the node.
Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.layout.FreeNodeLabelLayoutModelParameter
See Also
Constructors
Creates a new instance of FreeNodeLabelLayoutModelParameter.
Remarks
It has no offset, i.e., the upper-left corners of both node label and node are at the same location.
Creates a new instance of FreeNodeLabelLayoutModelParameter with the given offset.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- dx - number
- the horizontal offset
- dy - number
- the vertical offset
Properties
Gets the offset of the label's center to the upper-left corner of the node.