Aller au contenu

DisplayNode

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

Classes

DisplayNode

This node displays the value of an input.

Extends

  • Node<object, object, object>

Constructors

new DisplayNode()
new DisplayNode(params): DisplayNode
Parameters

params: NodeParams & object = {}

Returns

DisplayNode

Overrides

Node.constructor

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/io/DisplayNode.ts:23

Properties

afterInitialize()?
optional afterInitialize: () => void;
Returns

void

Inherited from

Node.afterInitialize

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:376

controls
controls: object;

Node controls

display
display: InputControl<"text", "scalar" | "array">;
Inherited from

Node.controls

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:349

description
description: undefined | string;
Inherited from

Node.description

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:342

factory
factory: undefined | NodeFactory;
Inherited from

Node.factory

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:327

inConnections
inConnections: object;
Inherited from

Node.inConnections

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:402

inEditor
inEditor: boolean;
Inherited from

Node.inEditor

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:323

ingoingDataConnections
readonly ingoingDataConnections: Record<string, Connection<Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>, Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>>[]>;
Inherited from

Node.ingoingDataConnections

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:365

ingoingExecConnections
readonly ingoingExecConnections: Record<string, Connection<Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>, Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>>[]>;
Inherited from

Node.ingoingExecConnections

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:366

initializePromise?
optional initializePromise: Promise<void>;
Inherited from

Node.initializePromise

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:371

initialValues?
optional initialValues: object;
controls?
optional controls: Record<string, unknown>;
inputs?
optional inputs: Record<string, unknown>;
Inherited from

Node.initialValues

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:372

inputs
inputs: object;

Node inputs

input?
optional input: Input<Socket<"any", "scalar" | "array">>;
Inherited from

Node.inputs

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:343

inputTypes
inputTypes: Record<string, object>;
Inherited from

Node.inputTypes

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:676

label
label: string;
Inherited from

Node.label

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:441

needsProcessing
needsProcessing: boolean;
Inherited from

Node.needsProcessing

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:350

onRemoveIngoingConnection()?
optional onRemoveIngoingConnection: (conn) => void;
Parameters

conn: Connection<Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>, Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>>

Returns

void

Inherited from

Node.onRemoveIngoingConnection

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:369

outConnections
outConnections: object;
Inherited from

Node.outConnections

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:401

outgoingDataConnections
readonly outgoingDataConnections: Record<string, Connection<Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>, Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>>[]>;
Inherited from

Node.outgoingDataConnections

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:367

outgoingExecConnections
readonly outgoingExecConnections: Record<string, Connection<Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>, Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>>[]>;
Inherited from

Node.outgoingExecConnections

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:368

outputs
outputs: object;

Node outputs

Inherited from

Node.outputs

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:346

outputTypes
outputTypes: Record<string, object>;
Inherited from

Node.outputTypes

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:687

pos
pos: object;
x
x: number = 0;
y
y: number = 0;
Inherited from

Node.pos

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:246

pythonComponent
readonly pythonComponent: PythonNodeComponent;
Inherited from

Node.pythonComponent

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:363

selectedInputs
selectedInputs: [string, Input<Socket<SocketType, "scalar" | "array">>][];
Inherited from

Node.selectedInputs

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:356

selectedOutputs
selectedOutputs: [string, Output<Socket<SocketType, "scalar" | "array">>][];
Inherited from

Node.selectedOutputs

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:359

socketSelectionComponent
readonly socketSelectionComponent: R_SocketSelection_NC;
Inherited from

Node.socketSelectionComponent

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:364

sortedControls
sortedControls: [string, Control][];
Inherited from

Node.sortedControls

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:362

sortedInputs
sortedInputs: [string, Input<Socket<SocketType, "scalar" | "array">>][];
Inherited from

Node.sortedInputs

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:351

sortedOutputs
sortedOutputs: [string, Output<Socket<SocketType, "scalar" | "array">>][];
Inherited from

Node.sortedOutputs

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:352

state
state: object & Partial<Record<string, unknown>>;
Type declaration
name?
optional name: string;
Inherited from

Node.state

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:331

visible
visible: boolean;
Inherited from

Node.visible

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:273

activeFactory
static activeFactory: undefined | NodeFactory;
Inherited from

Node.activeFactory

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:321

description
static description: string = '';
Inherited from

Node.description

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:315

id
static id: string;
Inherited from

Node.id

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:329

nodeCounts
static nodeCounts: number = 0;
Inherited from

Node.nodeCounts

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:330

visible
static visible: boolean = true;
Inherited from

Node.visible

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:316

Accessors

area
get area(): undefined | AreaPlugin<Schemes, AreaExtra>
Returns

undefined | AreaPlugin<Schemes, AreaExtra>

Inherited from

Node.area

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:307

editor
get editor(): undefined | NodeEditor
Returns

undefined | NodeEditor

Inherited from

Node.editor

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:303

height
get height(): number
set height(h): void
Parameters

h: number

Returns

number

Inherited from

Node.height

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:277

id
get id(): string

Node id, unique string generated by getUID function

Returns

string

Inherited from

Node.id

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:443

name
get name(): undefined | string
set name(n): void
Parameters

n: string

Returns

undefined | string

Inherited from

Node.name

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:332

picked
get picked(): boolean
Returns

boolean

Inherited from

Node.picked

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:465

previewed
get previewed(): boolean
set previewed(previewed): void
Parameters

previewed: boolean

Returns

boolean

Inherited from

Node.previewed

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:447

rect
get rect(): Rect
Returns

Rect

Inherited from

Node.rect

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:249

selected
get selected(): boolean

Whether the node is selected. Default is false

Returns

boolean

Inherited from

Node.selected

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:461

view
get view(): undefined | NodeView
Returns

undefined | NodeView

Inherited from

Node.view

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:311

width
get width(): number
set width(w): void
Parameters

w: number

Returns

number

Inherited from

Node.width

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:274

Methods

addComponentByClass()
addComponentByClass<P, C>(componentClass, params): C
Type Parameters

P extends Record<string, unknown>

C extends BaseComponent<ComponentSupportInterface>

Parameters

componentClass

params: Omit<P, "owner">

Returns

C

Inherited from

Node.addComponentByClass

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:512

addControl()
addControl<K>(key, control): void
Type Parameters

K extends "display"

Parameters

key: K

control: object[K]

Returns

void

Inherited from

Node.addControl

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:489

addInData()
addInData<K>(key, params?): Input<object[K]>
Type Parameters

K extends "input"

Parameters

key: K

params?

params.alwaysShowLabel?: boolean

params.changeType?

params.control?: Partial<InputControlParams< | "number" | "integer" | "vector" | "remote-file" | "text" | "checkbox" | "group-name-ref" | "textarea" | "select">>

params.datastructure?: object[K]["datastructure"] extends "scalar" ? undefined | "scalar" : object[K]["datastructure"]

params.description?: string

params.hideLabel?: boolean

params.index?: number

params.initial?: SocketValueType<object[K]["type"]>

params.isRequired?: boolean

params.label?: string

params.options?: string[]

params.props?: HTMLInputAttributes

params.type?: object[K]["type"]

Returns

Input<object[K]>

Inherited from

Node.addInData

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:783

addInExec()
addInExec(name, displayName): void
Parameters

name: never = ...

displayName: string = ''

Returns

void

Inherited from

Node.addInExec

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:719

addInput()
addInput<K>(key, input): void
Type Parameters

K extends "input"

Parameters

key: K

input: Input<Exclude<object[K], undefined>>

Returns

void

Inherited from

Node.addInput

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:384

addInputControl()
addInputControl<T>(key, params): InputControl<T, "scalar" | "array">
Type Parameters

T extends | "number" | "integer" | "vector" | "remote-file" | "text" | "checkbox" | "group-name-ref" | "textarea" | "select"

Parameters

key: "display"

params: InputControlParams<T>

Returns

InputControl<T, "scalar" | "array">

Inherited from

Node.addInputControl

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:890

addOutData()
addOutData<K>(key, params): Socket<object[K]["type"], "scalar" | object[K]["datastructure"]>
Type Parameters

K extends never

Parameters

key: K

params

params.datastructure?: object[K]["datastructure"]

params.description?: string

params.index?: number

params.isArray?: boolean

params.label?: string

params.showLabel?: boolean

params.type: object[K]["type"]

Returns

Socket<object[K]["type"], "scalar" | object[K]["datastructure"]>

Inherited from

Node.addOutData

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:728

addOutExec()
addOutExec(
name,
displayName,
isNaturalFlow): void
Parameters

name: never = ...

displayName: string = ''

isNaturalFlow: boolean = false

Returns

void

Inherited from

Node.addOutExec

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:903

addOutput()
addOutput<K>(key, output): void
Type Parameters

K extends never

Parameters

key: K

output: Output<Exclude<object[K], undefined>>

Returns

void

Inherited from

Node.addOutput

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:388

applyState()
applyState(): void
Returns

void

Inherited from

Node.applyState

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:528

data()
data(inputs?): SocketsValues<object>
Parameters

inputs?

inputs.input?: string

Returns

SocketsValues<object>

Overrides

Node.data

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/io/DisplayNode.ts:43

deselectInput()
deselectInput(key): void
Parameters

key: string

Returns

void

Inherited from

Node.deselectInput

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:609

deselectOutput()
deselectOutput(key): void
Parameters

key: string

Returns

void

Inherited from

Node.deselectOutput

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:617

emitResized()
emitResized(): Promise<void>
Returns

Promise<void>

Inherited from

Node.emitResized

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:289

execute()
execute(
input,
forward,
forwardExec): void | Promise<void>
Parameters

input: never

forward

forwardExec: boolean = true

Returns

void | Promise<void>

Inherited from

Node.execute

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:704

fetchInputs()
fetchInputs(): Promise<SocketsValues<object>>
Returns

Promise<SocketsValues<object>>

Inherited from

Node.fetchInputs

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:629

getArea()
getArea(): undefined | AreaPlugin<Schemes, AreaExtra>
Returns

undefined | AreaPlugin<Schemes, AreaExtra>

Inherited from

Node.getArea

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:655

getConnections()
getConnections(): Connection<Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>, Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>>[]
Returns

Connection<Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>, Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>>[]

Inherited from

Node.getConnections

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:392

getData()
getData<K>(key, inputs?): SocketValueWithDatastructure<SocketValueType<object[K]["type"]>, object[K]["datastructure"]>
Type Parameters

K extends "input"

Parameters

key: K

inputs?: Record<"input", unknown>

Returns

SocketValueWithDatastructure<SocketValueType<object[K]["type"]>, object[K]["datastructure"]>

Inherited from

Node.getData

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:945

getDataflowEngine()
getDataflowEngine(): undefined | DataflowEngine<Schemes>
Returns

undefined | DataflowEngine<Schemes>

Inherited from

Node.getDataflowEngine

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:643

getDataWithInputs()
getDataWithInputs<K>(key): Promise<SocketValueWithDatastructure<SocketValueType<object[K]["type"]>, object[K]["datastructure"]>>
Type Parameters

K extends "input"

Parameters

key: K

Returns

Promise<SocketValueWithDatastructure<SocketValueType<object[K]["type"]>, object[K]["datastructure"]>>

Inherited from

Node.getDataWithInputs

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:936

getEditor()
getEditor(): undefined | NodeEditor
Returns

undefined | NodeEditor

Inherited from

Node.getEditor

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:647

getFactory()
getFactory(): undefined | NodeFactory
Returns

undefined | NodeFactory

Inherited from

Node.getFactory

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:378

getNaturalFlow()
getNaturalFlow(): undefined | string
Returns

undefined | string

Inherited from

Node.getNaturalFlow

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:625

getOutData()
getOutData(): Record<string, unknown>
Returns

Record<string, unknown>

Inherited from

Node.getOutData

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:998

getOutgoers()
getOutgoers(key): null | Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>[]
Parameters

key: string

Returns

null | Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>[]

Inherited from

Node.getOutgoers

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:499

getPosition()
getPosition(): undefined | object
Returns

undefined | object

Inherited from

Node.getPosition

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:524

getState()
getState(): Record<string, unknown>
Returns

Record<string, unknown>

Inherited from

Node.getState

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:381

getWaitForChildrenPromises()
getWaitForChildrenPromises(output): Promise<void>
Parameters

output: never

Returns

Promise<void>

Inherited from

Node.getWaitForChildrenPromises

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:698

getWaitPromises()
getWaitPromises(nodes): Promise<void>[]
Parameters

nodes: Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>[]

Returns

Promise<void>[]

Inherited from

Node.getWaitPromises

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:932

hasControl()
hasControl<K>(key): boolean
Type Parameters

K extends "display"

Parameters

key: K

Returns

boolean

Inherited from

Node.hasControl

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:486

hasInput()
hasInput<K>(key): boolean
Type Parameters

K extends "input"

Parameters

key: K

Returns

boolean

Inherited from

Node.hasInput

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:469

hasOutput()
hasOutput<K>(key): boolean
Type Parameters

K extends never

Parameters

key: K

Returns

boolean

Inherited from

Node.hasOutput

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:480

makeInputControl()
makeInputControl<T, D>(params): InputControl<T, "scalar" | "array">
Type Parameters

T extends | "number" | "integer" | "vector" | "remote-file" | "text" | "checkbox" | "group-name-ref" | "textarea" | "select"

D extends "scalar" | "array" = "scalar" | "array"

Parameters

params: InputControlParams<T, D>

Returns

InputControl<T, "scalar" | "array">

Inherited from

Node.makeInputControl

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:875

oldAddInData()
oldAddInData<N>(__namedParameters): Input<Socket<SocketType, "scalar" | "array">>
Type Parameters

N

Parameters

__namedParameters: InDataParams<N>

Returns

Input<Socket<SocketType, "scalar" | "array">>

Inherited from

Node.oldAddInData

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:855

oldAddOutData()
oldAddOutData(__namedParameters): void
Parameters

__namedParameters: OutDataParams

Returns

void

Inherited from

Node.oldAddOutData

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:762

onEndExecute()
onEndExecute(): void
Returns

void

Inherited from

Node.onEndExecute

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:660

processDataflow()
processDataflow(): void
Returns

void

Inherited from

Node.processDataflow

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:917

removeControl()
removeControl(key): void
Parameters

key: "display"

Returns

void

Inherited from

Node.removeControl

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:492

removeInput()
removeInput(key): void
Parameters

key: "input"

Returns

void

Inherited from

Node.removeInput

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:472

removeOutput()
removeOutput(key): void
Parameters

key: never

Returns

void

Inherited from

Node.removeOutput

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:483

selectInput()
selectInput(key): void
Parameters

key: string

Returns

void

Inherited from

Node.selectInput

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:605

selectOutput()
selectOutput(key): void
Parameters

key: string

Returns

void

Inherited from

Node.selectOutput

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:613

setData()
setData(key, value): void
Parameters

key: string

value: unknown

Returns

void

Inherited from

Node.setData

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:991

setFactory()
setFactory(nodeFactory): void
Parameters

nodeFactory: NodeFactory

Returns

void

Inherited from

Node.setFactory

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:651

setNaturalFlow()
setNaturalFlow(outExec): void
Parameters

outExec: undefined | string

Returns

void

Inherited from

Node.setNaturalFlow

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:621

setState()
setState(state): void
Parameters

state: Record<string, unknown>

Returns

void

Inherited from

Node.setState

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:495

toJSON()
toJSON(): NodeSaveData
Returns

NodeSaveData

Inherited from

Node.toJSON

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:532

updateElement()
updateElement(type, id?): void
Parameters

type: "node" | "connection" | "socket" | "control" = 'node'

id?: string

Returns

void

Inherited from

Node.updateElement

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:1002

waitForEndExecutePromise()
waitForEndExecutePromise(): Promise<void>
Returns

Promise<void>

Inherited from

Node.waitForEndExecutePromise

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:670

fromJSON()
static fromJSON(data, __namedParameters): Promise<Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>>
Parameters

data: NodeSaveData

__namedParameters

__namedParameters.factory?: NodeFactory

Returns

Promise<Node<Record<string, Socket<SocketType, "scalar" | "array">>, object, object, Record<string, unknown>, Record<string, unknown>>>

Inherited from

Node.fromJSON

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:572