documentationfor yFiles for HTML 2.6

PortDropInputMode

An ItemDropInputMode<T> specialized to the drag and drop of IPorts.

Inheritance Hierarchy
Implemented Interfaces

Remarks

This input mode can visualize a preview of the dragged item during the drag operation, and supports snapping via the snapContext and highlighting of the dropTarget via a HighlightIndicatorManager<T>.

Examples

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

Type Details

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

See Also

Constructors

Properties

Methods

Events

Static Methods