Aller au contenu

utils

Ce contenu n’est pas encore disponible dans votre langue.

Variables

dragGraphType

const dragGraphType: "selenite/graph" = 'selenite/graph';

Defined in

tmp/graph-editor/src/lib/graph-editor/utils.ts:13


dragVariableType

const dragVariableType: "selenite/graph-variable" = 'selenite/graph-variable';

Defined in

tmp/graph-editor/src/lib/graph-editor/utils.ts:14

Functions

getDraggedGraph()

function getDraggedGraph(e): StoredGraph | undefined

Parameters

e: DragEvent

Returns

StoredGraph | undefined

Defined in

tmp/graph-editor/src/lib/graph-editor/utils.ts:32


getDraggedVariableId()

function getDraggedVariableId(e): string | undefined

Parameters

e: DragEvent

Returns

string | undefined

Defined in

tmp/graph-editor/src/lib/graph-editor/utils.ts:49


isDraggedGraph()

function isDraggedGraph(e): boolean

Parameters

e: DragEvent

Returns

boolean

Defined in

tmp/graph-editor/src/lib/graph-editor/utils.ts:28


isDraggedVariable()

function isDraggedVariable(e): boolean

Parameters

e: DragEvent

Returns

boolean

Defined in

tmp/graph-editor/src/lib/graph-editor/utils.ts:45


isNodeEditorSaveData()

function isNodeEditorSaveData(a): a is Object

Parameters

a: unknown

Returns

a is Object

Defined in

tmp/graph-editor/src/lib/graph-editor/utils.ts:5


onGraphDragStart()

function onGraphDragStart(g): (e) => void

Parameters

g: StoredGraph

Returns

Function

Parameters

e: DragEvent

Returns

void

Defined in

tmp/graph-editor/src/lib/graph-editor/utils.ts:16


variableDragStart()

function variableDragStart(v): (e) => void

Parameters

v: Variable

Returns

Function

Parameters

e: DragEvent

Returns

void

Defined in

tmp/graph-editor/src/lib/graph-editor/utils.ts:39