Skip to main content

Class: UserInteractionSettings

Constructors

constructor

new UserInteractionSettings()

Accessors

arePointerInteractionsDisabled

get arePointerInteractionsDisabled(): boolean

Returns

boolean


diagramPan

get diagramPan(): boolean

Returns

boolean

set diagramPan(value): void

Parameters

NameType
valueboolean

Returns

void


diagramZoom

get diagramZoom(): boolean

Returns

boolean

set diagramZoom(value): void

Parameters

NameType
valueboolean

Returns

void


linkSelection

get linkSelection(): boolean

Returns

boolean

set linkSelection(value): void

Parameters

NameType
valueboolean

Returns

void


multiselectionKey

get multiselectionKey(): MultipleSelectionKey

Returns

MultipleSelectionKey

set multiselectionKey(value): void

Parameters

NameType
valueMultipleSelectionKey

Returns

void


nodeDrag

get nodeDrag(): boolean

Returns

boolean

set nodeDrag(value): void

Parameters

NameType
valueboolean

Returns

void


nodeSelection

get nodeSelection(): boolean

Returns

boolean

set nodeSelection(value): void

Parameters

NameType
valueboolean

Returns

void


portConnection

get portConnection(): boolean

Returns

boolean

set portConnection(value): void

Parameters

NameType
valueboolean

Returns

void

Methods

disableAllPointerInteractions

disableAllPointerInteractions(force?): void

Parameters

NameTypeDefault value
forcebooleanfalse

Returns

void


enableAllPointerInteractions

enableAllPointerInteractions(force?): void

Parameters

NameTypeDefault value
forcebooleanfalse

Returns

void


import

import(obj?): void

Parameters

NameType
obj?Partial<IUserInteraction>

Returns

void


isCallbackMultiselectionActivated

isCallbackMultiselectionActivated(shiftKey, altKey, ctrlKey, metaKey): boolean

Parameters

NameType
shiftKeyboolean
altKeyboolean
ctrlKeyboolean
metaKeyboolean

Returns

boolean