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 | undefinedParameters
• e: DragEvent
Returns
StoredGraph | undefined
Defined in
tmp/graph-editor/src/lib/graph-editor/utils.ts:32
getDraggedVariableId()
function getDraggedVariableId(e): string | undefinedParameters
• e: DragEvent
Returns
string | undefined
Defined in
tmp/graph-editor/src/lib/graph-editor/utils.ts:49
isDraggedGraph()
function isDraggedGraph(e): booleanParameters
• e: DragEvent
Returns
boolean
Defined in
tmp/graph-editor/src/lib/graph-editor/utils.ts:28
isDraggedVariable()
function isDraggedVariable(e): booleanParameters
• e: DragEvent
Returns
boolean
Defined in
tmp/graph-editor/src/lib/graph-editor/utils.ts:45
isNodeEditorSaveData()
function isNodeEditorSaveData(a): a is ObjectParameters
• a: unknown
Returns
a is Object
Defined in
tmp/graph-editor/src/lib/graph-editor/utils.ts:5
onGraphDragStart()
function onGraphDragStart(g): (e) => voidParameters
• 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) => voidParameters
• v: Variable
Returns
Function
Parameters
• e: DragEvent
Returns
void