documentationfor yFiles for HTML 2.6

MoveLabelInputMode

An IInputMode that can be used to drag a ILabel in a GraphComponent.

Inheritance Hierarchy
MoveInputMode
MoveLabelInputMode
Implemented Interfaces

Remarks

This implementation shows the possible candidate positions for a given label and allows the user to drag the label to one of these positions.

Note that the positionHandler property is not used by this instance. Developers who want to set their own IPositionHandler implementations have to either decorate the label's ILookup or override createLabelPositionHandler.

Examples

Typically the MoveLabelInputMode is installed as child mode of a GraphEditorInputMode and can be retrieved from the moveLabelInputMode property.
Getting the MoveLabelInputMode from its parent input mode
const moveLabelInputMode = mode.moveLabelInputMode

Type Details

yfiles module
view-editor
yfiles-umd modules
view-editor, view-table, view
Legacy UMD name
yfiles.input.MoveLabelInputMode

See Also

Constructors

Properties

Methods

Events