Aller au contenu

FormatNode

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

Classes

FormatGroupNameNode

Extends

Constructors

new FormatGroupNameNode()
new FormatGroupNameNode(params): FormatGroupNameNode
Parameters

params: FormatNodeParams = {}

Returns

FormatGroupNameNode

Overrides

FormatNode.constructor

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/io/FormatNode.ts:136

Properties

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

void

Inherited from

FormatNode.afterInitialize

Defined in

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

controls
controls: object;

Node controls

Inherited from

FormatNode.controls

Defined in

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

description
description: undefined | string;
Inherited from

FormatNode.description

Defined in

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

factory
factory: undefined | NodeFactory;
Inherited from

FormatNode.factory

Defined in

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

inConnections
inConnections: object;
Inherited from

FormatNode.inConnections

Defined in

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

inEditor
inEditor: boolean;
Inherited from

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

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

FormatNode.ingoingExecConnections

Defined in

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

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

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

FormatNode.initialValues

Defined in

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

inputs
inputs: object;

Node inputs

format?
optional format: Input<Scalar<"string">>;
Inherited from

FormatNode.inputs

Defined in

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

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

FormatNode.inputTypes

Defined in

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

label
label: string;
Inherited from

FormatNode.label

Defined in

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

needsProcessing
needsProcessing: boolean;
Inherited from

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

FormatNode.onRemoveIngoingConnection

Defined in

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

outConnections
outConnections: object;
Inherited from

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

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

FormatNode.outgoingExecConnections

Defined in

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

outputs
outputs: object;

Node outputs

result?
optional result: Output<Scalar<"string" | "groupNameRef">>;
Inherited from

FormatNode.outputs

Defined in

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

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

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

FormatNode.pos

Defined in

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

pythonComponent
readonly pythonComponent: PythonNodeComponent;
Inherited from

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

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

FormatNode.selectedOutputs

Defined in

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

socketSelectionComponent
readonly socketSelectionComponent: R_SocketSelection_NC;
Inherited from

FormatNode.socketSelectionComponent

Defined in

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

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

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

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

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

FormatNode.state

Defined in

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

varsType
varsType: DataType;
Inherited from

FormatNode.varsType

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/io/FormatNode.ts:27

visible
visible: boolean;
Inherited from

FormatNode.visible

Defined in

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

activeFactory
static activeFactory: undefined | NodeFactory;
Inherited from

FormatNode.activeFactory

Defined in

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

description
static description: string = '';
Inherited from

FormatNode.description

Defined in

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

id
static id: string;
Inherited from

FormatNode.id

Defined in

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

nodeCounts
static nodeCounts: number = 0;
Inherited from

FormatNode.nodeCounts

Defined in

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

visible
static visible: boolean = true;
Inherited from

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

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

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

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

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

FormatNode.name

Defined in

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

picked
get picked(): boolean
Returns

boolean

Inherited from

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

FormatNode.previewed

Defined in

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

rect
get rect(): Rect
Returns

Rect

Inherited from

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

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

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

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

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

FormatNode.addControl

Defined in

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

addInData()
addInData<K>(key, params?): Input<object & Record<string, Scalar<DataType>>[K]>
Type Parameters

K extends string

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 & Record<string, Scalar<DataType>>[K]["datastructure"] extends "scalar" ? undefined | "scalar" : object & Record<string, Scalar<DataType>>[K]["datastructure"]

params.description?: string

params.hideLabel?: boolean

params.index?: number

params.initial?: SocketValueType<object & Record<string, Scalar<DataType>>[K]["type"]>

params.isRequired?: boolean

params.label?: string

params.options?: string[]

params.props?: HTMLInputAttributes

params.type?: object & Record<string, Scalar<DataType>>[K]["type"]

Returns

Input<object & Record<string, Scalar<DataType>>[K]>

Inherited from

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

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

Parameters

key: K

input: Input<Exclude<object & Record<string, Scalar<DataType>>[K], undefined>>

Returns

void

Inherited from

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

FormatNode.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 "result"

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

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

FormatNode.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 "result"

Parameters

key: K

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

Returns

void

Inherited from

FormatNode.addOutput

Defined in

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

applyState()
applyState(): void
Returns

void

Inherited from

FormatNode.applyState

Defined in

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

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

inputs?: SocketsValues<object & Record<string, Socket<"any", "scalar" | "array">>>

Returns

SocketsValues<object>

result
result: Scalar<"string">;
Inherited from

FormatNode.data

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/io/FormatNode.ts:74

deselectInput()
deselectInput(key): void
Parameters

key: string

Returns

void

Inherited from

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

FormatNode.deselectOutput

Defined in

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

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

Promise<void>

Inherited from

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

FormatNode.execute

Defined in

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

fetchInputs()
fetchInputs(): Promise<SocketsValues<object & Record<string, Scalar<DataType>>>>
Returns

Promise<SocketsValues<object & Record<string, Scalar<DataType>>>>

Inherited from

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

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

FormatNode.getConnections

Defined in

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

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

K extends string

Parameters

key: K

inputs?: Record<string, unknown>

Returns

SocketValueWithDatastructure<SocketValueType<object & Record<string, Scalar<DataType>>[K]["type"]>, object & Record<string, Scalar<DataType>>[K]["datastructure"]>

Inherited from

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

FormatNode.getDataflowEngine

Defined in

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

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

K extends string

Parameters

key: K

Returns

Promise<SocketValueWithDatastructure<SocketValueType<object & Record<string, Scalar<DataType>>[K]["type"]>, object & Record<string, Scalar<DataType>>[K]["datastructure"]>>

Inherited from

FormatNode.getDataWithInputs

Defined in

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

getEditor()
getEditor(): undefined | NodeEditor
Returns

undefined | NodeEditor

Inherited from

FormatNode.getEditor

Defined in

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

getFactory()
getFactory(): undefined | NodeFactory
Returns

undefined | NodeFactory

Inherited from

FormatNode.getFactory

Defined in

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

getFormatVariablesKeys()
getFormatVariablesKeys(): Record<string, string>
Returns

Record<string, string>

Inherited from

FormatNode.getFormatVariablesKeys

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/io/FormatNode.ts:57

getNaturalFlow()
getNaturalFlow(): undefined | string
Returns

undefined | string

Inherited from

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

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

FormatNode.getOutgoers

Defined in

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

getPosition()
getPosition(): undefined | object
Returns

undefined | object

Inherited from

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

FormatNode.getState

Defined in

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

getValues()
getValues(inputs?): Record<string, unknown>
Parameters

inputs?: Record<string, unknown>

Returns

Record<string, unknown>

Inherited from

FormatNode.getValues

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/io/FormatNode.ts:66

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

output: never

Returns

Promise<void>

Inherited from

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

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

FormatNode.hasControl

Defined in

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

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

K extends string

Parameters

key: K

Returns

boolean

Inherited from

FormatNode.hasInput

Defined in

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

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

K extends "result"

Parameters

key: K

Returns

boolean

Inherited from

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

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

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

FormatNode.oldAddOutData

Defined in

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

onEndExecute()
onEndExecute(): void
Returns

void

Inherited from

FormatNode.onEndExecute

Defined in

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

processDataflow()
processDataflow(): void
Returns

void

Inherited from

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

FormatNode.removeControl

Defined in

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

removeInput()
removeInput(key): void
Parameters

key: string

Returns

void

Inherited from

FormatNode.removeInput

Defined in

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

removeOutput()
removeOutput(key): void
Parameters

key: "result"

Returns

void

Inherited from

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

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

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

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

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

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

FormatNode.setState

Defined in

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

toJSON()
toJSON(): NodeSaveData
Returns

NodeSaveData

Inherited from

FormatNode.toJSON

Defined in

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

updateDataInputs()
updateDataInputs(inputs?): void
Parameters

inputs?: Record<string, unknown>

Returns

void

Inherited from

FormatNode.updateDataInputs

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/io/FormatNode.ts:91

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

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

id?: string

Returns

void

Inherited from

FormatNode.updateElement

Defined in

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

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

Promise<void>

Inherited from

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

FormatNode.fromJSON

Defined in

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


FormatNode

Extends

Extended by

Constructors

new FormatNode()
new FormatNode(params): FormatNode
Parameters

params: FormatNodeParams = {}

Returns

FormatNode

Overrides

Node.constructor

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/io/FormatNode.ts:28

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

format?
optional format: Input<Scalar<"string">>;
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

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

varsType
varsType: DataType;
Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/io/FormatNode.ts:27

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 & Record<string, Scalar<DataType>>[K]>
Type Parameters

K extends string

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 & Record<string, Scalar<DataType>>[K]["datastructure"] extends "scalar" ? undefined | "scalar" : object & Record<string, Scalar<DataType>>[K]["datastructure"]

params.description?: string

params.hideLabel?: boolean

params.index?: number

params.initial?: SocketValueType<object & Record<string, Scalar<DataType>>[K]["type"]>

params.isRequired?: boolean

params.label?: string

params.options?: string[]

params.props?: HTMLInputAttributes

params.type?: object & Record<string, Scalar<DataType>>[K]["type"]

Returns

Input<object & Record<string, Scalar<DataType>>[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 string

Parameters

key: K

input: Input<Exclude<object & Record<string, Scalar<DataType>>[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 "result"

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

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 & Record<string, Socket<"any", "scalar" | "array">>>

Returns

SocketsValues<object>

result
result: Scalar<"string">;
Overrides

Node.data

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/io/FormatNode.ts:74

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 & Record<string, Scalar<DataType>>>>
Returns

Promise<SocketsValues<object & Record<string, Scalar<DataType>>>>

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 & Record<string, Scalar<DataType>>[K]["type"]>, object & Record<string, Scalar<DataType>>[K]["datastructure"]>
Type Parameters

K extends string

Parameters

key: K

inputs?: Record<string, unknown>

Returns

SocketValueWithDatastructure<SocketValueType<object & Record<string, Scalar<DataType>>[K]["type"]>, object & Record<string, Scalar<DataType>>[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 & Record<string, Scalar<DataType>>[K]["type"]>, object & Record<string, Scalar<DataType>>[K]["datastructure"]>>
Type Parameters

K extends string

Parameters

key: K

Returns

Promise<SocketValueWithDatastructure<SocketValueType<object & Record<string, Scalar<DataType>>[K]["type"]>, object & Record<string, Scalar<DataType>>[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

getFormatVariablesKeys()
getFormatVariablesKeys(): Record<string, string>
Returns

Record<string, string>

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/io/FormatNode.ts:57

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

getValues()
getValues(inputs?): Record<string, unknown>
Parameters

inputs?: Record<string, unknown>

Returns

Record<string, unknown>

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/io/FormatNode.ts:66

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 string

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

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

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

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

updateDataInputs()
updateDataInputs(inputs?): void
Parameters

inputs?: Record<string, unknown>

Returns

void

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/io/FormatNode.ts:91

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

Type Aliases

FormatNodeParams

type FormatNodeParams: NodeParams & object;

Type declaration

outType?
optional outType: "string" | "groupNameRef";
params?
optional params: object;
params.vars
vars: Record<string, unknown>;
vars?
optional vars: Record<string, unknown>;
varsType?
optional varsType: DataType;

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/io/FormatNode.ts:13