Skip to content

number

Nodes for creating and manipulating numbers.

Classes

CeilNode

Base class for converter nodes.

Converter nodes are used to convert data from one type to another type.

Extends

Constructors

new CeilNode()
new CeilNode(params): CeilNode
Parameters

params: NodeParams = {}

Returns

CeilNode

Overrides

ConverterNode.constructor

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:67

Properties

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

void

Inherited from

ConverterNode.afterInitialize

Defined in

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

controls
controls: object;

Node controls

Inherited from

ConverterNode.controls

Defined in

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

convert?
optional convert: SocketConverter<"number", "integer", "scalar">;
Inherited from

ConverterNode.convert

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:104

description
description: undefined | string;
Inherited from

ConverterNode.description

Defined in

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

factory
factory: undefined | NodeFactory;
Inherited from

ConverterNode.factory

Defined in

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

inConnections
inConnections: object;
Inherited from

ConverterNode.inConnections

Defined in

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

inEditor
inEditor: boolean;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.ingoingExecConnections

Defined in

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

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

ConverterNode.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

ConverterNode.initialValues

Defined in

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

inputs
inputs: object;

Node inputs

value?
optional value: Input<Socket<"number", "scalar">>;
Inherited from

ConverterNode.inputs

Defined in

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

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

ConverterNode.inputTypes

Defined in

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

label
label: string;
Inherited from

ConverterNode.label

Defined in

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

needsProcessing
needsProcessing: boolean;
Inherited from

ConverterNode.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

ConverterNode.onRemoveIngoingConnection

Defined in

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

outConnections
outConnections: object;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.outgoingExecConnections

Defined in

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

outputs
outputs: object;

Node outputs

value?
optional value: Output<Socket<"integer", "scalar">>;
Inherited from

ConverterNode.outputs

Defined in

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

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

ConverterNode.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

ConverterNode.pos

Defined in

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

pythonComponent
readonly pythonComponent: PythonNodeComponent;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.selectedOutputs

Defined in

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

socketSelectionComponent
readonly socketSelectionComponent: R_SocketSelection_NC;
Inherited from

ConverterNode.socketSelectionComponent

Defined in

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

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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.state

Defined in

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

visible
visible: boolean;
Inherited from

ConverterNode.visible

Defined in

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

activeFactory
static activeFactory: undefined | NodeFactory;
Inherited from

ConverterNode.activeFactory

Defined in

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

description
static description: string = '';
Inherited from

ConverterNode.description

Defined in

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

id
static id: string;
Inherited from

ConverterNode.id

Defined in

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

nodeCounts
static nodeCounts: number = 0;
Inherited from

ConverterNode.nodeCounts

Defined in

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

visible
static visible: boolean = true;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.name

Defined in

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

picked
get picked(): boolean
Returns

boolean

Inherited from

ConverterNode.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

ConverterNode.previewed

Defined in

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

rect
get rect(): Rect
Returns

Rect

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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 string

Parameters

key: K

control: Control

Returns

void

Inherited from

ConverterNode.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 "value"

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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

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

Returns

void

Inherited from

ConverterNode.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: string

params: InputControlParams<T>

Returns

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

Inherited from

ConverterNode.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 "value"

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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

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

Returns

void

Inherited from

ConverterNode.addOutput

Defined in

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

applyState()
applyState(): void
Returns

void

Inherited from

ConverterNode.applyState

Defined in

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

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

inputs?: SocketsValues<object>

Returns

SocketsValues<object>

value
value: Socket<"integer", "scalar">;
Inherited from

ConverterNode.data

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:119

deselectInput()
deselectInput(key): void
Parameters

key: string

Returns

void

Inherited from

ConverterNode.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

ConverterNode.deselectOutput

Defined in

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

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

Promise<void>

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

inputs?: Record<"value", unknown>

Returns

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

Inherited from

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

Returns

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

Inherited from

ConverterNode.getDataWithInputs

Defined in

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

getEditor()
getEditor(): undefined | NodeEditor
Returns

undefined | NodeEditor

Inherited from

ConverterNode.getEditor

Defined in

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

getFactory()
getFactory(): undefined | NodeFactory
Returns

undefined | NodeFactory

Inherited from

ConverterNode.getFactory

Defined in

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

getNaturalFlow()
getNaturalFlow(): undefined | string
Returns

undefined | string

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.getOutgoers

Defined in

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

getPosition()
getPosition(): undefined | object
Returns

undefined | object

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.getWaitPromises

Defined in

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

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

K extends string

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.hasControl

Defined in

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

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

K extends "value"

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.hasInput

Defined in

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

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

K extends "value"

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.oldAddOutData

Defined in

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

onEndExecute()
onEndExecute(): void
Returns

void

Inherited from

ConverterNode.onEndExecute

Defined in

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

processDataflow()
processDataflow(): void
Returns

void

Inherited from

ConverterNode.processDataflow

Defined in

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

removeControl()
removeControl(key): void
Parameters

key: string

Returns

void

Inherited from

ConverterNode.removeControl

Defined in

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

removeInput()
removeInput(key): void
Parameters

key: "value"

Returns

void

Inherited from

ConverterNode.removeInput

Defined in

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

removeOutput()
removeOutput(key): void
Parameters

key: "value"

Returns

void

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.setState

Defined in

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

toJSON()
toJSON(): NodeSaveData
Returns

NodeSaveData

Inherited from

ConverterNode.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

ConverterNode.updateElement

Defined in

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

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

Promise<void>

Inherited from

ConverterNode.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

ConverterNode.fromJSON

Defined in

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


FloorNode

Base class for converter nodes.

Converter nodes are used to convert data from one type to another type.

Extends

Constructors

new FloorNode()
new FloorNode(params): FloorNode
Parameters

params: NodeParams = {}

Returns

FloorNode

Overrides

ConverterNode.constructor

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:51

Properties

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

void

Inherited from

ConverterNode.afterInitialize

Defined in

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

controls
controls: object;

Node controls

Inherited from

ConverterNode.controls

Defined in

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

convert?
optional convert: SocketConverter<"number", "integer", "scalar">;
Inherited from

ConverterNode.convert

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:104

description
description: undefined | string;
Inherited from

ConverterNode.description

Defined in

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

factory
factory: undefined | NodeFactory;
Inherited from

ConverterNode.factory

Defined in

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

inConnections
inConnections: object;
Inherited from

ConverterNode.inConnections

Defined in

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

inEditor
inEditor: boolean;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.ingoingExecConnections

Defined in

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

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

ConverterNode.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

ConverterNode.initialValues

Defined in

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

inputs
inputs: object;

Node inputs

value?
optional value: Input<Socket<"number", "scalar">>;
Inherited from

ConverterNode.inputs

Defined in

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

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

ConverterNode.inputTypes

Defined in

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

label
label: string;
Inherited from

ConverterNode.label

Defined in

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

needsProcessing
needsProcessing: boolean;
Inherited from

ConverterNode.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

ConverterNode.onRemoveIngoingConnection

Defined in

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

outConnections
outConnections: object;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.outgoingExecConnections

Defined in

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

outputs
outputs: object;

Node outputs

value?
optional value: Output<Socket<"integer", "scalar">>;
Inherited from

ConverterNode.outputs

Defined in

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

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

ConverterNode.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

ConverterNode.pos

Defined in

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

pythonComponent
readonly pythonComponent: PythonNodeComponent;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.selectedOutputs

Defined in

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

socketSelectionComponent
readonly socketSelectionComponent: R_SocketSelection_NC;
Inherited from

ConverterNode.socketSelectionComponent

Defined in

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

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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.state

Defined in

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

visible
visible: boolean;
Inherited from

ConverterNode.visible

Defined in

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

activeFactory
static activeFactory: undefined | NodeFactory;
Inherited from

ConverterNode.activeFactory

Defined in

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

description
static description: string = '';
Inherited from

ConverterNode.description

Defined in

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

id
static id: string;
Inherited from

ConverterNode.id

Defined in

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

nodeCounts
static nodeCounts: number = 0;
Inherited from

ConverterNode.nodeCounts

Defined in

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

visible
static visible: boolean = true;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.name

Defined in

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

picked
get picked(): boolean
Returns

boolean

Inherited from

ConverterNode.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

ConverterNode.previewed

Defined in

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

rect
get rect(): Rect
Returns

Rect

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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 string

Parameters

key: K

control: Control

Returns

void

Inherited from

ConverterNode.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 "value"

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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

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

Returns

void

Inherited from

ConverterNode.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: string

params: InputControlParams<T>

Returns

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

Inherited from

ConverterNode.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 "value"

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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

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

Returns

void

Inherited from

ConverterNode.addOutput

Defined in

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

applyState()
applyState(): void
Returns

void

Inherited from

ConverterNode.applyState

Defined in

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

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

inputs?: SocketsValues<object>

Returns

SocketsValues<object>

value
value: Socket<"integer", "scalar">;
Inherited from

ConverterNode.data

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:119

deselectInput()
deselectInput(key): void
Parameters

key: string

Returns

void

Inherited from

ConverterNode.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

ConverterNode.deselectOutput

Defined in

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

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

Promise<void>

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

inputs?: Record<"value", unknown>

Returns

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

Inherited from

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

Returns

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

Inherited from

ConverterNode.getDataWithInputs

Defined in

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

getEditor()
getEditor(): undefined | NodeEditor
Returns

undefined | NodeEditor

Inherited from

ConverterNode.getEditor

Defined in

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

getFactory()
getFactory(): undefined | NodeFactory
Returns

undefined | NodeFactory

Inherited from

ConverterNode.getFactory

Defined in

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

getNaturalFlow()
getNaturalFlow(): undefined | string
Returns

undefined | string

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.getOutgoers

Defined in

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

getPosition()
getPosition(): undefined | object
Returns

undefined | object

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.getWaitPromises

Defined in

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

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

K extends string

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.hasControl

Defined in

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

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

K extends "value"

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.hasInput

Defined in

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

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

K extends "value"

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.oldAddOutData

Defined in

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

onEndExecute()
onEndExecute(): void
Returns

void

Inherited from

ConverterNode.onEndExecute

Defined in

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

processDataflow()
processDataflow(): void
Returns

void

Inherited from

ConverterNode.processDataflow

Defined in

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

removeControl()
removeControl(key): void
Parameters

key: string

Returns

void

Inherited from

ConverterNode.removeControl

Defined in

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

removeInput()
removeInput(key): void
Parameters

key: "value"

Returns

void

Inherited from

ConverterNode.removeInput

Defined in

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

removeOutput()
removeOutput(key): void
Parameters

key: "value"

Returns

void

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.setState

Defined in

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

toJSON()
toJSON(): NodeSaveData
Returns

NodeSaveData

Inherited from

ConverterNode.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

ConverterNode.updateElement

Defined in

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

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

Promise<void>

Inherited from

ConverterNode.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

ConverterNode.fromJSON

Defined in

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


MultiplyNode

Extends

  • Node<object, object>

Constructors

new MultiplyNode()
new MultiplyNode(params): MultiplyNode
Parameters

params: NodeParams = {}

Returns

MultiplyNode

Overrides

Node.constructor

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:133

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

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

a?
optional a: Input<Scalar<"number">>;
b?
optional b: Input<Scalar<"number">>;
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

value?
optional value: Output<Scalar<"number">>;
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 string

Parameters

key: K

control: Control

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 "b" | "a"

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 "b" | "a"

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: string

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 "value"

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 "value"

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?: SocketsValues<object>

Returns

SocketsValues<object>

value
value: Scalar<"number">;
Overrides

Node.data

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:145

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 "b" | "a"

Parameters

key: K

inputs?: Record<"b" | "a", 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 "b" | "a"

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 string

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 "b" | "a"

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 "value"

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: string

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: "b" | "a"

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: "value"

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


NumberNode

A node that outputs a number.

Extends

Constructors

new NumberNode()
new NumberNode(params?): NumberNode
Parameters

params?: NodeParams

Returns

NumberNode

Overrides

InputControlNode.constructor

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:25

Properties

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

void

Inherited from

InputControlNode.afterInitialize

Defined in

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

controls
controls: object;

Node controls

value
value: InputControl<"number", "scalar" | "array">;
Inherited from

InputControlNode.controls

Defined in

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

description
description: undefined | string;
Inherited from

InputControlNode.description

Defined in

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

factory
factory: undefined | NodeFactory;
Inherited from

InputControlNode.factory

Defined in

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

inConnections
inConnections: object;
Inherited from

InputControlNode.inConnections

Defined in

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

inEditor
inEditor: boolean;
Inherited from

InputControlNode.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

InputControlNode.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

InputControlNode.ingoingExecConnections

Defined in

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

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

InputControlNode.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

InputControlNode.initialValues

Defined in

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

inputControl
inputControl: InputControl<"number", "scalar" | "array">;
Inherited from

InputControlNode.inputControl

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:38

inputs
inputs: object;

Node inputs

Inherited from

InputControlNode.inputs

Defined in

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

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

InputControlNode.inputTypes

Defined in

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

label
label: string;
Inherited from

InputControlNode.label

Defined in

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

needsProcessing
needsProcessing: boolean;
Inherited from

InputControlNode.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

InputControlNode.onRemoveIngoingConnection

Defined in

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

outConnections
outConnections: object;
Inherited from

InputControlNode.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

InputControlNode.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

InputControlNode.outgoingExecConnections

Defined in

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

outputs
outputs: object;

Node outputs

value?
optional value: Output<Socket<"number", "scalar" | "array">>;
Inherited from

InputControlNode.outputs

Defined in

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

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

InputControlNode.outputTypes

Defined in

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

outSocket
outSocket: Socket<"number", "scalar" | "array">;
Inherited from

InputControlNode.outSocket

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:39

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

InputControlNode.pos

Defined in

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

pythonComponent
readonly pythonComponent: PythonNodeComponent;
Inherited from

InputControlNode.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

InputControlNode.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

InputControlNode.selectedOutputs

Defined in

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

socketSelectionComponent
readonly socketSelectionComponent: R_SocketSelection_NC;
Inherited from

InputControlNode.socketSelectionComponent

Defined in

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

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

InputControlNode.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

InputControlNode.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

InputControlNode.sortedOutputs

Defined in

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

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

InputControlNode.state

Defined in

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

visible
visible: boolean;
Inherited from

InputControlNode.visible

Defined in

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

activeFactory
static activeFactory: undefined | NodeFactory;
Inherited from

InputControlNode.activeFactory

Defined in

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

description
static description: string = '';
Inherited from

InputControlNode.description

Defined in

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

id
static id: string;
Inherited from

InputControlNode.id

Defined in

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

nodeCounts
static nodeCounts: number = 0;
Inherited from

InputControlNode.nodeCounts

Defined in

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

visible
static visible: boolean = true;
Inherited from

InputControlNode.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

InputControlNode.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

InputControlNode.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

InputControlNode.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

InputControlNode.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

InputControlNode.name

Defined in

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

picked
get picked(): boolean
Returns

boolean

Inherited from

InputControlNode.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

InputControlNode.previewed

Defined in

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

rect
get rect(): Rect
Returns

Rect

Inherited from

InputControlNode.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

InputControlNode.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

InputControlNode.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

InputControlNode.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

InputControlNode.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 "value"

Parameters

key: K

control: object[K]

Returns

void

Inherited from

InputControlNode.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 never

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

InputControlNode.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

InputControlNode.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 never

Parameters

key: K

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

Returns

void

Inherited from

InputControlNode.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: "value"

params: InputControlParams<T>

Returns

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

Inherited from

InputControlNode.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 "value"

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

InputControlNode.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

InputControlNode.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 "value"

Parameters

key: K

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

Returns

void

Inherited from

InputControlNode.addOutput

Defined in

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

applyState()
applyState(): void
Returns

void

Inherited from

InputControlNode.applyState

Defined in

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

changeType()
changeType(type): void
Parameters

type: "number"

Returns

void

Inherited from

InputControlNode.changeType

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:66

data()
data(inputs?): object
Parameters

inputs?

Returns

object

value
value: number;
Inherited from

InputControlNode.data

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:80

deselectInput()
deselectInput(key): void
Parameters

key: string

Returns

void

Inherited from

InputControlNode.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

InputControlNode.deselectOutput

Defined in

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

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

Promise<void>

Inherited from

InputControlNode.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

InputControlNode.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

InputControlNode.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

InputControlNode.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

InputControlNode.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 never

Parameters

key: K

inputs?: Record<never, unknown>

Returns

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

Inherited from

InputControlNode.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

InputControlNode.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 never

Parameters

key: K

Returns

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

Inherited from

InputControlNode.getDataWithInputs

Defined in

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

getEditor()
getEditor(): undefined | NodeEditor
Returns

undefined | NodeEditor

Inherited from

InputControlNode.getEditor

Defined in

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

getFactory()
getFactory(): undefined | NodeFactory
Returns

undefined | NodeFactory

Inherited from

InputControlNode.getFactory

Defined in

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

getNaturalFlow()
getNaturalFlow(): undefined | string
Returns

undefined | string

Inherited from

InputControlNode.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

InputControlNode.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

InputControlNode.getOutgoers

Defined in

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

getPosition()
getPosition(): undefined | object
Returns

undefined | object

Inherited from

InputControlNode.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

InputControlNode.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

InputControlNode.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

InputControlNode.getWaitPromises

Defined in

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

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

K extends "value"

Parameters

key: K

Returns

boolean

Inherited from

InputControlNode.hasControl

Defined in

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

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

K extends never

Parameters

key: K

Returns

boolean

Inherited from

InputControlNode.hasInput

Defined in

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

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

K extends "value"

Parameters

key: K

Returns

boolean

Inherited from

InputControlNode.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

InputControlNode.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

InputControlNode.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

InputControlNode.oldAddOutData

Defined in

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

onEndExecute()
onEndExecute(): void
Returns

void

Inherited from

InputControlNode.onEndExecute

Defined in

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

processDataflow()
processDataflow(): void
Returns

void

Inherited from

InputControlNode.processDataflow

Defined in

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

removeControl()
removeControl(key): void
Parameters

key: "value"

Returns

void

Inherited from

InputControlNode.removeControl

Defined in

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

removeInput()
removeInput(key): void
Parameters

key: never

Returns

void

Inherited from

InputControlNode.removeInput

Defined in

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

removeOutput()
removeOutput(key): void
Parameters

key: "value"

Returns

void

Inherited from

InputControlNode.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

InputControlNode.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

InputControlNode.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

InputControlNode.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

InputControlNode.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

InputControlNode.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

InputControlNode.setState

Defined in

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

toJSON()
toJSON(): NodeSaveData
Returns

NodeSaveData

Inherited from

InputControlNode.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

InputControlNode.updateElement

Defined in

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

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

Promise<void>

Inherited from

InputControlNode.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

InputControlNode.fromJSON

Defined in

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


ParseNode

Base class for converter nodes.

Converter nodes are used to convert data from one type to another type.

Extends

Constructors

new ParseNode()
new ParseNode(params): ParseNode
Parameters

params: NodeParams = {}

Returns

ParseNode

Overrides

ConverterNode.constructor

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:99

Properties

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

void

Inherited from

ConverterNode.afterInitialize

Defined in

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

controls
controls: object;

Node controls

Inherited from

ConverterNode.controls

Defined in

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

convert?
optional convert: SocketConverter<"string", "number", "scalar">;
Inherited from

ConverterNode.convert

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:104

description
description: undefined | string;
Inherited from

ConverterNode.description

Defined in

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

factory
factory: undefined | NodeFactory;
Inherited from

ConverterNode.factory

Defined in

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

inConnections
inConnections: object;
Inherited from

ConverterNode.inConnections

Defined in

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

inEditor
inEditor: boolean;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.ingoingExecConnections

Defined in

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

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

ConverterNode.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

ConverterNode.initialValues

Defined in

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

inputs
inputs: object;

Node inputs

value?
optional value: Input<Socket<"string", "scalar">>;
Inherited from

ConverterNode.inputs

Defined in

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

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

ConverterNode.inputTypes

Defined in

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

label
label: string;
Inherited from

ConverterNode.label

Defined in

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

needsProcessing
needsProcessing: boolean;
Inherited from

ConverterNode.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

ConverterNode.onRemoveIngoingConnection

Defined in

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

outConnections
outConnections: object;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.outgoingExecConnections

Defined in

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

outputs
outputs: object;

Node outputs

value?
optional value: Output<Socket<"number", "scalar">>;
Inherited from

ConverterNode.outputs

Defined in

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

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

ConverterNode.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

ConverterNode.pos

Defined in

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

pythonComponent
readonly pythonComponent: PythonNodeComponent;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.selectedOutputs

Defined in

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

socketSelectionComponent
readonly socketSelectionComponent: R_SocketSelection_NC;
Inherited from

ConverterNode.socketSelectionComponent

Defined in

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

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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.state

Defined in

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

visible
visible: boolean;
Inherited from

ConverterNode.visible

Defined in

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

activeFactory
static activeFactory: undefined | NodeFactory;
Inherited from

ConverterNode.activeFactory

Defined in

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

description
static description: string = '';
Inherited from

ConverterNode.description

Defined in

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

id
static id: string;
Inherited from

ConverterNode.id

Defined in

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

nodeCounts
static nodeCounts: number = 0;
Inherited from

ConverterNode.nodeCounts

Defined in

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

visible
static visible: boolean = true;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.name

Defined in

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

picked
get picked(): boolean
Returns

boolean

Inherited from

ConverterNode.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

ConverterNode.previewed

Defined in

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

rect
get rect(): Rect
Returns

Rect

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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 string

Parameters

key: K

control: Control

Returns

void

Inherited from

ConverterNode.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 "value"

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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

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

Returns

void

Inherited from

ConverterNode.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: string

params: InputControlParams<T>

Returns

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

Inherited from

ConverterNode.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 "value"

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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

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

Returns

void

Inherited from

ConverterNode.addOutput

Defined in

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

applyState()
applyState(): void
Returns

void

Inherited from

ConverterNode.applyState

Defined in

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

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

inputs?: SocketsValues<object>

Returns

SocketsValues<object>

value
value: Socket<"number", "scalar">;
Inherited from

ConverterNode.data

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:119

deselectInput()
deselectInput(key): void
Parameters

key: string

Returns

void

Inherited from

ConverterNode.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

ConverterNode.deselectOutput

Defined in

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

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

Promise<void>

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

inputs?: Record<"value", unknown>

Returns

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

Inherited from

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

Returns

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

Inherited from

ConverterNode.getDataWithInputs

Defined in

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

getEditor()
getEditor(): undefined | NodeEditor
Returns

undefined | NodeEditor

Inherited from

ConverterNode.getEditor

Defined in

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

getFactory()
getFactory(): undefined | NodeFactory
Returns

undefined | NodeFactory

Inherited from

ConverterNode.getFactory

Defined in

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

getNaturalFlow()
getNaturalFlow(): undefined | string
Returns

undefined | string

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.getOutgoers

Defined in

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

getPosition()
getPosition(): undefined | object
Returns

undefined | object

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.getWaitPromises

Defined in

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

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

K extends string

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.hasControl

Defined in

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

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

K extends "value"

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.hasInput

Defined in

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

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

K extends "value"

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.oldAddOutData

Defined in

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

onEndExecute()
onEndExecute(): void
Returns

void

Inherited from

ConverterNode.onEndExecute

Defined in

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

processDataflow()
processDataflow(): void
Returns

void

Inherited from

ConverterNode.processDataflow

Defined in

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

removeControl()
removeControl(key): void
Parameters

key: string

Returns

void

Inherited from

ConverterNode.removeControl

Defined in

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

removeInput()
removeInput(key): void
Parameters

key: "value"

Returns

void

Inherited from

ConverterNode.removeInput

Defined in

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

removeOutput()
removeOutput(key): void
Parameters

key: "value"

Returns

void

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.setState

Defined in

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

toJSON()
toJSON(): NodeSaveData
Returns

NodeSaveData

Inherited from

ConverterNode.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

ConverterNode.updateElement

Defined in

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

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

Promise<void>

Inherited from

ConverterNode.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

ConverterNode.fromJSON

Defined in

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


RoundNode

Base class for converter nodes.

Converter nodes are used to convert data from one type to another type.

Extends

Constructors

new RoundNode()
new RoundNode(params): RoundNode
Parameters

params: NodeParams = {}

Returns

RoundNode

Overrides

ConverterNode.constructor

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:83

Properties

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

void

Inherited from

ConverterNode.afterInitialize

Defined in

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

controls
controls: object;

Node controls

Inherited from

ConverterNode.controls

Defined in

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

convert?
optional convert: SocketConverter<"number", "integer", "scalar">;
Inherited from

ConverterNode.convert

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:104

description
description: undefined | string;
Inherited from

ConverterNode.description

Defined in

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

factory
factory: undefined | NodeFactory;
Inherited from

ConverterNode.factory

Defined in

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

inConnections
inConnections: object;
Inherited from

ConverterNode.inConnections

Defined in

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

inEditor
inEditor: boolean;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.ingoingExecConnections

Defined in

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

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

ConverterNode.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

ConverterNode.initialValues

Defined in

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

inputs
inputs: object;

Node inputs

value?
optional value: Input<Socket<"number", "scalar">>;
Inherited from

ConverterNode.inputs

Defined in

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

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

ConverterNode.inputTypes

Defined in

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

label
label: string;
Inherited from

ConverterNode.label

Defined in

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

needsProcessing
needsProcessing: boolean;
Inherited from

ConverterNode.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

ConverterNode.onRemoveIngoingConnection

Defined in

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

outConnections
outConnections: object;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.outgoingExecConnections

Defined in

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

outputs
outputs: object;

Node outputs

value?
optional value: Output<Socket<"integer", "scalar">>;
Inherited from

ConverterNode.outputs

Defined in

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

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

ConverterNode.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

ConverterNode.pos

Defined in

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

pythonComponent
readonly pythonComponent: PythonNodeComponent;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.selectedOutputs

Defined in

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

socketSelectionComponent
readonly socketSelectionComponent: R_SocketSelection_NC;
Inherited from

ConverterNode.socketSelectionComponent

Defined in

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

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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.state

Defined in

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

visible
visible: boolean;
Inherited from

ConverterNode.visible

Defined in

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

activeFactory
static activeFactory: undefined | NodeFactory;
Inherited from

ConverterNode.activeFactory

Defined in

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

description
static description: string = '';
Inherited from

ConverterNode.description

Defined in

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

id
static id: string;
Inherited from

ConverterNode.id

Defined in

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

nodeCounts
static nodeCounts: number = 0;
Inherited from

ConverterNode.nodeCounts

Defined in

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

visible
static visible: boolean = true;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.name

Defined in

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

picked
get picked(): boolean
Returns

boolean

Inherited from

ConverterNode.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

ConverterNode.previewed

Defined in

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

rect
get rect(): Rect
Returns

Rect

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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 string

Parameters

key: K

control: Control

Returns

void

Inherited from

ConverterNode.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 "value"

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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

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

Returns

void

Inherited from

ConverterNode.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: string

params: InputControlParams<T>

Returns

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

Inherited from

ConverterNode.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 "value"

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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

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

Returns

void

Inherited from

ConverterNode.addOutput

Defined in

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

applyState()
applyState(): void
Returns

void

Inherited from

ConverterNode.applyState

Defined in

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

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

inputs?: SocketsValues<object>

Returns

SocketsValues<object>

value
value: Socket<"integer", "scalar">;
Inherited from

ConverterNode.data

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:119

deselectInput()
deselectInput(key): void
Parameters

key: string

Returns

void

Inherited from

ConverterNode.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

ConverterNode.deselectOutput

Defined in

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

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

Promise<void>

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

inputs?: Record<"value", unknown>

Returns

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

Inherited from

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

Returns

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

Inherited from

ConverterNode.getDataWithInputs

Defined in

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

getEditor()
getEditor(): undefined | NodeEditor
Returns

undefined | NodeEditor

Inherited from

ConverterNode.getEditor

Defined in

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

getFactory()
getFactory(): undefined | NodeFactory
Returns

undefined | NodeFactory

Inherited from

ConverterNode.getFactory

Defined in

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

getNaturalFlow()
getNaturalFlow(): undefined | string
Returns

undefined | string

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.getOutgoers

Defined in

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

getPosition()
getPosition(): undefined | object
Returns

undefined | object

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.getWaitPromises

Defined in

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

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

K extends string

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.hasControl

Defined in

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

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

K extends "value"

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.hasInput

Defined in

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

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

K extends "value"

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.oldAddOutData

Defined in

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

onEndExecute()
onEndExecute(): void
Returns

void

Inherited from

ConverterNode.onEndExecute

Defined in

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

processDataflow()
processDataflow(): void
Returns

void

Inherited from

ConverterNode.processDataflow

Defined in

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

removeControl()
removeControl(key): void
Parameters

key: string

Returns

void

Inherited from

ConverterNode.removeControl

Defined in

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

removeInput()
removeInput(key): void
Parameters

key: "value"

Returns

void

Inherited from

ConverterNode.removeInput

Defined in

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

removeOutput()
removeOutput(key): void
Parameters

key: "value"

Returns

void

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.setState

Defined in

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

toJSON()
toJSON(): NodeSaveData
Returns

NodeSaveData

Inherited from

ConverterNode.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

ConverterNode.updateElement

Defined in

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

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

Promise<void>

Inherited from

ConverterNode.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

ConverterNode.fromJSON

Defined in

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


ToBoolNode

Base class for converter nodes.

Converter nodes are used to convert data from one type to another type.

Extends

Constructors

new ToBoolNode()
new ToBoolNode(params): ToBoolNode
Parameters

params: NodeParams = {}

Returns

ToBoolNode

Overrides

ConverterNode.constructor

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:115

Properties

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

void

Inherited from

ConverterNode.afterInitialize

Defined in

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

controls
controls: object;

Node controls

Inherited from

ConverterNode.controls

Defined in

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

convert?
optional convert: SocketConverter<"number", "boolean", "scalar">;
Inherited from

ConverterNode.convert

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:104

description
description: undefined | string;
Inherited from

ConverterNode.description

Defined in

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

factory
factory: undefined | NodeFactory;
Inherited from

ConverterNode.factory

Defined in

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

inConnections
inConnections: object;
Inherited from

ConverterNode.inConnections

Defined in

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

inEditor
inEditor: boolean;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.ingoingExecConnections

Defined in

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

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

ConverterNode.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

ConverterNode.initialValues

Defined in

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

inputs
inputs: object;

Node inputs

value?
optional value: Input<Socket<"number", "scalar">>;
Inherited from

ConverterNode.inputs

Defined in

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

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

ConverterNode.inputTypes

Defined in

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

label
label: string;
Inherited from

ConverterNode.label

Defined in

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

needsProcessing
needsProcessing: boolean;
Inherited from

ConverterNode.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

ConverterNode.onRemoveIngoingConnection

Defined in

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

outConnections
outConnections: object;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.outgoingExecConnections

Defined in

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

outputs
outputs: object;

Node outputs

value?
optional value: Output<Socket<"boolean", "scalar">>;
Inherited from

ConverterNode.outputs

Defined in

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

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

ConverterNode.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

ConverterNode.pos

Defined in

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

pythonComponent
readonly pythonComponent: PythonNodeComponent;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.selectedOutputs

Defined in

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

socketSelectionComponent
readonly socketSelectionComponent: R_SocketSelection_NC;
Inherited from

ConverterNode.socketSelectionComponent

Defined in

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

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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.state

Defined in

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

visible
visible: boolean;
Inherited from

ConverterNode.visible

Defined in

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

activeFactory
static activeFactory: undefined | NodeFactory;
Inherited from

ConverterNode.activeFactory

Defined in

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

description
static description: string = '';
Inherited from

ConverterNode.description

Defined in

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

id
static id: string;
Inherited from

ConverterNode.id

Defined in

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

nodeCounts
static nodeCounts: number = 0;
Inherited from

ConverterNode.nodeCounts

Defined in

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

visible
static visible: boolean = true;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.name

Defined in

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

picked
get picked(): boolean
Returns

boolean

Inherited from

ConverterNode.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

ConverterNode.previewed

Defined in

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

rect
get rect(): Rect
Returns

Rect

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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 string

Parameters

key: K

control: Control

Returns

void

Inherited from

ConverterNode.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 "value"

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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

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

Returns

void

Inherited from

ConverterNode.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: string

params: InputControlParams<T>

Returns

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

Inherited from

ConverterNode.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 "value"

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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

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

Returns

void

Inherited from

ConverterNode.addOutput

Defined in

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

applyState()
applyState(): void
Returns

void

Inherited from

ConverterNode.applyState

Defined in

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

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

inputs?: SocketsValues<object>

Returns

SocketsValues<object>

value
value: Socket<"boolean", "scalar">;
Inherited from

ConverterNode.data

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:119

deselectInput()
deselectInput(key): void
Parameters

key: string

Returns

void

Inherited from

ConverterNode.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

ConverterNode.deselectOutput

Defined in

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

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

Promise<void>

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

inputs?: Record<"value", unknown>

Returns

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

Inherited from

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

Returns

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

Inherited from

ConverterNode.getDataWithInputs

Defined in

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

getEditor()
getEditor(): undefined | NodeEditor
Returns

undefined | NodeEditor

Inherited from

ConverterNode.getEditor

Defined in

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

getFactory()
getFactory(): undefined | NodeFactory
Returns

undefined | NodeFactory

Inherited from

ConverterNode.getFactory

Defined in

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

getNaturalFlow()
getNaturalFlow(): undefined | string
Returns

undefined | string

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.getOutgoers

Defined in

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

getPosition()
getPosition(): undefined | object
Returns

undefined | object

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.getWaitPromises

Defined in

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

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

K extends string

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.hasControl

Defined in

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

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

K extends "value"

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.hasInput

Defined in

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

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

K extends "value"

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.oldAddOutData

Defined in

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

onEndExecute()
onEndExecute(): void
Returns

void

Inherited from

ConverterNode.onEndExecute

Defined in

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

processDataflow()
processDataflow(): void
Returns

void

Inherited from

ConverterNode.processDataflow

Defined in

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

removeControl()
removeControl(key): void
Parameters

key: string

Returns

void

Inherited from

ConverterNode.removeControl

Defined in

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

removeInput()
removeInput(key): void
Parameters

key: "value"

Returns

void

Inherited from

ConverterNode.removeInput

Defined in

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

removeOutput()
removeOutput(key): void
Parameters

key: "value"

Returns

void

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.setState

Defined in

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

toJSON()
toJSON(): NodeSaveData
Returns

NodeSaveData

Inherited from

ConverterNode.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

ConverterNode.updateElement

Defined in

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

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

Promise<void>

Inherited from

ConverterNode.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

ConverterNode.fromJSON

Defined in

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


ToStringNode

Base class for converter nodes.

Converter nodes are used to convert data from one type to another type.

Extends

Constructors

new ToStringNode()
new ToStringNode(params): ToStringNode
Parameters

params: NodeParams = {}

Returns

ToStringNode

Overrides

ConverterNode.constructor

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:35

Properties

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

void

Inherited from

ConverterNode.afterInitialize

Defined in

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

controls
controls: object;

Node controls

Inherited from

ConverterNode.controls

Defined in

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

convert?
optional convert: SocketConverter<"number", "string", "scalar">;
Inherited from

ConverterNode.convert

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:104

description
description: undefined | string;
Inherited from

ConverterNode.description

Defined in

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

factory
factory: undefined | NodeFactory;
Inherited from

ConverterNode.factory

Defined in

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

inConnections
inConnections: object;
Inherited from

ConverterNode.inConnections

Defined in

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

inEditor
inEditor: boolean;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.ingoingExecConnections

Defined in

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

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

ConverterNode.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

ConverterNode.initialValues

Defined in

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

inputs
inputs: object;

Node inputs

value?
optional value: Input<Socket<"number", "scalar">>;
Inherited from

ConverterNode.inputs

Defined in

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

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

ConverterNode.inputTypes

Defined in

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

label
label: string;
Inherited from

ConverterNode.label

Defined in

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

needsProcessing
needsProcessing: boolean;
Inherited from

ConverterNode.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

ConverterNode.onRemoveIngoingConnection

Defined in

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

outConnections
outConnections: object;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.outgoingExecConnections

Defined in

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

outputs
outputs: object;

Node outputs

value?
optional value: Output<Socket<"string", "scalar">>;
Inherited from

ConverterNode.outputs

Defined in

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

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

ConverterNode.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

ConverterNode.pos

Defined in

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

pythonComponent
readonly pythonComponent: PythonNodeComponent;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.selectedOutputs

Defined in

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

socketSelectionComponent
readonly socketSelectionComponent: R_SocketSelection_NC;
Inherited from

ConverterNode.socketSelectionComponent

Defined in

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

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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.state

Defined in

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

visible
visible: boolean;
Inherited from

ConverterNode.visible

Defined in

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

activeFactory
static activeFactory: undefined | NodeFactory;
Inherited from

ConverterNode.activeFactory

Defined in

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

description
static description: string = '';
Inherited from

ConverterNode.description

Defined in

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

id
static id: string;
Inherited from

ConverterNode.id

Defined in

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

nodeCounts
static nodeCounts: number = 0;
Inherited from

ConverterNode.nodeCounts

Defined in

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

visible
static visible: boolean = true;
Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.name

Defined in

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

picked
get picked(): boolean
Returns

boolean

Inherited from

ConverterNode.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

ConverterNode.previewed

Defined in

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

rect
get rect(): Rect
Returns

Rect

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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 string

Parameters

key: K

control: Control

Returns

void

Inherited from

ConverterNode.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 "value"

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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

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

Returns

void

Inherited from

ConverterNode.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: string

params: InputControlParams<T>

Returns

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

Inherited from

ConverterNode.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 "value"

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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

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

Returns

void

Inherited from

ConverterNode.addOutput

Defined in

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

applyState()
applyState(): void
Returns

void

Inherited from

ConverterNode.applyState

Defined in

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

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

inputs?: SocketsValues<object>

Returns

SocketsValues<object>

value
value: Socket<"string", "scalar">;
Inherited from

ConverterNode.data

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:119

deselectInput()
deselectInput(key): void
Parameters

key: string

Returns

void

Inherited from

ConverterNode.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

ConverterNode.deselectOutput

Defined in

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

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

Promise<void>

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

inputs?: Record<"value", unknown>

Returns

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

Inherited from

ConverterNode.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

ConverterNode.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 "value"

Parameters

key: K

Returns

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

Inherited from

ConverterNode.getDataWithInputs

Defined in

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

getEditor()
getEditor(): undefined | NodeEditor
Returns

undefined | NodeEditor

Inherited from

ConverterNode.getEditor

Defined in

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

getFactory()
getFactory(): undefined | NodeFactory
Returns

undefined | NodeFactory

Inherited from

ConverterNode.getFactory

Defined in

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

getNaturalFlow()
getNaturalFlow(): undefined | string
Returns

undefined | string

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.getOutgoers

Defined in

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

getPosition()
getPosition(): undefined | object
Returns

undefined | object

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.getWaitPromises

Defined in

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

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

K extends string

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.hasControl

Defined in

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

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

K extends "value"

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.hasInput

Defined in

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

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

K extends "value"

Parameters

key: K

Returns

boolean

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.oldAddOutData

Defined in

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

onEndExecute()
onEndExecute(): void
Returns

void

Inherited from

ConverterNode.onEndExecute

Defined in

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

processDataflow()
processDataflow(): void
Returns

void

Inherited from

ConverterNode.processDataflow

Defined in

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

removeControl()
removeControl(key): void
Parameters

key: string

Returns

void

Inherited from

ConverterNode.removeControl

Defined in

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

removeInput()
removeInput(key): void
Parameters

key: "value"

Returns

void

Inherited from

ConverterNode.removeInput

Defined in

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

removeOutput()
removeOutput(key): void
Parameters

key: "value"

Returns

void

Inherited from

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.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

ConverterNode.setState

Defined in

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

toJSON()
toJSON(): NodeSaveData
Returns

NodeSaveData

Inherited from

ConverterNode.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

ConverterNode.updateElement

Defined in

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

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

Promise<void>

Inherited from

ConverterNode.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

ConverterNode.fromJSON

Defined in

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