number
Ce contenu n’est pas encore disponible dans votre langue.
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
ConverterNode
<"number"
,"integer"
>
Constructors
new CeilNode()
Parameters
• params: NodeParams
= {}
Returns
Overrides
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:67
Properties
afterInitialize()?
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:376
controls
Node controls
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:349
convert?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:104
description
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:342
factory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:327
inConnections
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:402
inEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:323
ingoingDataConnections
Inherited from
ConverterNode
.ingoingDataConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:365
ingoingExecConnections
Inherited from
ConverterNode
.ingoingExecConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:366
initializePromise?
Inherited from
ConverterNode
.initializePromise
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:371
initialValues?
controls?
inputs?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:372
inputs
Node inputs
value?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:343
inputTypes
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:676
label
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:441
needsProcessing
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:350
onRemoveIngoingConnection()?
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
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:401
outgoingDataConnections
Inherited from
ConverterNode
.outgoingDataConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:367
outgoingExecConnections
Inherited from
ConverterNode
.outgoingExecConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:368
outputs
Node outputs
value?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:346
outputTypes
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:687
pos
x
y
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:246
pythonComponent
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:363
selectedInputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:356
selectedOutputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:359
socketSelectionComponent
Inherited from
ConverterNode
.socketSelectionComponent
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:364
sortedControls
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:362
sortedInputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:351
sortedOutputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:352
state
Type declaration
name?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:331
visible
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:273
activeFactory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:321
description
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:315
id
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:329
nodeCounts
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:330
visible
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:316
Accessors
area
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:307
editor
Returns
undefined
| NodeEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:303
height
Parameters
• h: number
Returns
number
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:277
id
Node id, unique string generated by getUID
function
Returns
string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:443
name
Parameters
• n: string
Returns
undefined
| string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:332
picked
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:465
previewed
Parameters
• previewed: boolean
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:447
rect
Returns
Rect
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:249
selected
Whether the node is selected. Default is false
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:461
view
Returns
undefined
| NodeView
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:311
width
Parameters
• w: number
Returns
number
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:274
Methods
addComponentByClass()
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()
Type Parameters
• K extends string
Parameters
• key: K
• control: Control
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:489
addInData()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:783
addInExec()
Parameters
• name: never
= ...
• displayName: string
= ''
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:719
addInput()
Type Parameters
• K extends "value"
Parameters
• key: K
• input: Input
<Exclude
<object
[K
], undefined
>>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:384
addInputControl()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:890
addOutData()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:728
addOutExec()
Parameters
• name: never
= ...
• displayName: string
= ''
• isNaturalFlow: boolean
= false
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:903
addOutput()
Type Parameters
• K extends "value"
Parameters
• key: K
• output: Output
<Exclude
<object
[K
], undefined
>>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:388
applyState()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:528
data()
Parameters
• inputs?: SocketsValues
<object
>
Returns
SocketsValues
<object
>
value
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:119
deselectInput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:609
deselectOutput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:617
emitResized()
Returns
Promise
<void
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:289
execute()
Parameters
• input: never
• forward
• forwardExec: boolean
= true
Returns
void
| Promise
<void
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:704
fetchInputs()
Returns
Promise
<SocketsValues
<object
>>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:629
getArea()
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:655
getConnections()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:392
getData()
Type Parameters
• K extends "value"
Parameters
• key: K
• inputs?: Record
<"value"
, unknown
>
Returns
SocketValueWithDatastructure
<SocketValueType
<object
[K
]["type"
]>, object
[K
]["datastructure"
]>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:945
getDataflowEngine()
Returns
undefined
| DataflowEngine
<Schemes
>
Inherited from
ConverterNode
.getDataflowEngine
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:643
getDataWithInputs()
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()
Returns
undefined
| NodeEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:647
getFactory()
Returns
undefined
| NodeFactory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:378
getNaturalFlow()
Returns
undefined
| string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:625
getOutData()
Returns
Record
<string
, unknown
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:998
getOutgoers()
Parameters
• key: string
Returns
null
| Node
<Record
<string
, Socket
<SocketType
, "scalar"
| "array"
>>, object
, object
, Record
<string
, unknown
>, Record
<string
, unknown
>>[]
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:499
getPosition()
Returns
undefined
| object
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:524
getState()
Returns
Record
<string
, unknown
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:381
getWaitForChildrenPromises()
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()
Parameters
• nodes: Node
<Record
<string
, Socket
<SocketType
, "scalar"
| "array"
>>, object
, object
, Record
<string
, unknown
>, Record
<string
, unknown
>>[]
Returns
Promise
<void
>[]
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:932
hasControl()
Type Parameters
• K extends string
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:486
hasInput()
Type Parameters
• K extends "value"
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:469
hasOutput()
Type Parameters
• K extends "value"
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:480
makeInputControl()
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()
Type Parameters
• N
Parameters
• __namedParameters: InDataParams
<N
>
Returns
Input
<Socket
<SocketType
, "scalar"
| "array"
>>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:855
oldAddOutData()
Parameters
• __namedParameters: OutDataParams
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:762
onEndExecute()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:660
processDataflow()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:917
removeControl()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:492
removeInput()
Parameters
• key: "value"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:472
removeOutput()
Parameters
• key: "value"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:483
selectInput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:605
selectOutput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:613
setData()
Parameters
• key: string
• value: unknown
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:991
setFactory()
Parameters
• nodeFactory: NodeFactory
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:651
setNaturalFlow()
Parameters
• outExec: undefined
| string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:621
setState()
Parameters
• state: Record
<string
, unknown
>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:495
toJSON()
Returns
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:532
updateElement()
Parameters
• type: "node"
| "connection"
| "socket"
| "control"
= 'node'
• id?: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:1002
waitForEndExecutePromise()
Returns
Promise
<void
>
Inherited from
ConverterNode
.waitForEndExecutePromise
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:670
fromJSON()
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
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
ConverterNode
<"number"
,"integer"
>
Constructors
new FloorNode()
Parameters
• params: NodeParams
= {}
Returns
Overrides
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:51
Properties
afterInitialize()?
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:376
controls
Node controls
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:349
convert?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:104
description
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:342
factory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:327
inConnections
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:402
inEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:323
ingoingDataConnections
Inherited from
ConverterNode
.ingoingDataConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:365
ingoingExecConnections
Inherited from
ConverterNode
.ingoingExecConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:366
initializePromise?
Inherited from
ConverterNode
.initializePromise
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:371
initialValues?
controls?
inputs?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:372
inputs
Node inputs
value?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:343
inputTypes
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:676
label
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:441
needsProcessing
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:350
onRemoveIngoingConnection()?
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
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:401
outgoingDataConnections
Inherited from
ConverterNode
.outgoingDataConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:367
outgoingExecConnections
Inherited from
ConverterNode
.outgoingExecConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:368
outputs
Node outputs
value?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:346
outputTypes
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:687
pos
x
y
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:246
pythonComponent
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:363
selectedInputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:356
selectedOutputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:359
socketSelectionComponent
Inherited from
ConverterNode
.socketSelectionComponent
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:364
sortedControls
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:362
sortedInputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:351
sortedOutputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:352
state
Type declaration
name?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:331
visible
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:273
activeFactory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:321
description
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:315
id
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:329
nodeCounts
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:330
visible
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:316
Accessors
area
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:307
editor
Returns
undefined
| NodeEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:303
height
Parameters
• h: number
Returns
number
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:277
id
Node id, unique string generated by getUID
function
Returns
string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:443
name
Parameters
• n: string
Returns
undefined
| string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:332
picked
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:465
previewed
Parameters
• previewed: boolean
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:447
rect
Returns
Rect
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:249
selected
Whether the node is selected. Default is false
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:461
view
Returns
undefined
| NodeView
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:311
width
Parameters
• w: number
Returns
number
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:274
Methods
addComponentByClass()
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()
Type Parameters
• K extends string
Parameters
• key: K
• control: Control
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:489
addInData()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:783
addInExec()
Parameters
• name: never
= ...
• displayName: string
= ''
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:719
addInput()
Type Parameters
• K extends "value"
Parameters
• key: K
• input: Input
<Exclude
<object
[K
], undefined
>>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:384
addInputControl()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:890
addOutData()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:728
addOutExec()
Parameters
• name: never
= ...
• displayName: string
= ''
• isNaturalFlow: boolean
= false
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:903
addOutput()
Type Parameters
• K extends "value"
Parameters
• key: K
• output: Output
<Exclude
<object
[K
], undefined
>>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:388
applyState()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:528
data()
Parameters
• inputs?: SocketsValues
<object
>
Returns
SocketsValues
<object
>
value
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:119
deselectInput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:609
deselectOutput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:617
emitResized()
Returns
Promise
<void
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:289
execute()
Parameters
• input: never
• forward
• forwardExec: boolean
= true
Returns
void
| Promise
<void
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:704
fetchInputs()
Returns
Promise
<SocketsValues
<object
>>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:629
getArea()
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:655
getConnections()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:392
getData()
Type Parameters
• K extends "value"
Parameters
• key: K
• inputs?: Record
<"value"
, unknown
>
Returns
SocketValueWithDatastructure
<SocketValueType
<object
[K
]["type"
]>, object
[K
]["datastructure"
]>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:945
getDataflowEngine()
Returns
undefined
| DataflowEngine
<Schemes
>
Inherited from
ConverterNode
.getDataflowEngine
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:643
getDataWithInputs()
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()
Returns
undefined
| NodeEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:647
getFactory()
Returns
undefined
| NodeFactory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:378
getNaturalFlow()
Returns
undefined
| string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:625
getOutData()
Returns
Record
<string
, unknown
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:998
getOutgoers()
Parameters
• key: string
Returns
null
| Node
<Record
<string
, Socket
<SocketType
, "scalar"
| "array"
>>, object
, object
, Record
<string
, unknown
>, Record
<string
, unknown
>>[]
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:499
getPosition()
Returns
undefined
| object
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:524
getState()
Returns
Record
<string
, unknown
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:381
getWaitForChildrenPromises()
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()
Parameters
• nodes: Node
<Record
<string
, Socket
<SocketType
, "scalar"
| "array"
>>, object
, object
, Record
<string
, unknown
>, Record
<string
, unknown
>>[]
Returns
Promise
<void
>[]
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:932
hasControl()
Type Parameters
• K extends string
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:486
hasInput()
Type Parameters
• K extends "value"
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:469
hasOutput()
Type Parameters
• K extends "value"
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:480
makeInputControl()
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()
Type Parameters
• N
Parameters
• __namedParameters: InDataParams
<N
>
Returns
Input
<Socket
<SocketType
, "scalar"
| "array"
>>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:855
oldAddOutData()
Parameters
• __namedParameters: OutDataParams
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:762
onEndExecute()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:660
processDataflow()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:917
removeControl()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:492
removeInput()
Parameters
• key: "value"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:472
removeOutput()
Parameters
• key: "value"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:483
selectInput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:605
selectOutput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:613
setData()
Parameters
• key: string
• value: unknown
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:991
setFactory()
Parameters
• nodeFactory: NodeFactory
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:651
setNaturalFlow()
Parameters
• outExec: undefined
| string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:621
setState()
Parameters
• state: Record
<string
, unknown
>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:495
toJSON()
Returns
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:532
updateElement()
Parameters
• type: "node"
| "connection"
| "socket"
| "control"
= 'node'
• id?: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:1002
waitForEndExecutePromise()
Returns
Promise
<void
>
Inherited from
ConverterNode
.waitForEndExecutePromise
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:670
fromJSON()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:572
MultiplyNode
Extends
Node
<object
,object
>
Constructors
new MultiplyNode()
Parameters
• params: NodeParams
= {}
Returns
Overrides
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:133
Properties
afterInitialize()?
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:376
controls
Node controls
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:349
description
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:342
factory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:327
inConnections
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:402
inEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:323
ingoingDataConnections
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:365
ingoingExecConnections
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:366
initializePromise?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:371
initialValues?
controls?
inputs?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:372
inputs
Node inputs
a?
b?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:343
inputTypes
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:676
label
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:441
needsProcessing
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:350
onRemoveIngoingConnection()?
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
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:401
outgoingDataConnections
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:367
outgoingExecConnections
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:368
outputs
Node outputs
value?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:346
outputTypes
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:687
pos
x
y
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:246
pythonComponent
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:363
selectedInputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:356
selectedOutputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:359
socketSelectionComponent
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:364
sortedControls
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:362
sortedInputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:351
sortedOutputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:352
state
Type declaration
name?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:331
visible
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:273
activeFactory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:321
description
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:315
id
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:329
nodeCounts
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:330
visible
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:316
Accessors
area
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:307
editor
Returns
undefined
| NodeEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:303
height
Parameters
• h: number
Returns
number
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:277
id
Node id, unique string generated by getUID
function
Returns
string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:443
name
Parameters
• n: string
Returns
undefined
| string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:332
picked
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:465
previewed
Parameters
• previewed: boolean
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:447
rect
Returns
Rect
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:249
selected
Whether the node is selected. Default is false
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:461
view
Returns
undefined
| NodeView
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:311
width
Parameters
• w: number
Returns
number
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:274
Methods
addComponentByClass()
Type Parameters
• P extends Record
<string
, unknown
>
• C extends BaseComponent
<ComponentSupportInterface
>
Parameters
• componentClass
• params: Omit
<P
, "owner"
>
Returns
C
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:512
addControl()
Type Parameters
• K extends string
Parameters
• key: K
• control: Control
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:489
addInData()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:783
addInExec()
Parameters
• name: never
= ...
• displayName: string
= ''
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:719
addInput()
Type Parameters
• K extends "b"
| "a"
Parameters
• key: K
• input: Input
<Exclude
<object
[K
], undefined
>>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:384
addInputControl()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:890
addOutData()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:728
addOutExec()
Parameters
• name: never
= ...
• displayName: string
= ''
• isNaturalFlow: boolean
= false
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:903
addOutput()
Type Parameters
• K extends "value"
Parameters
• key: K
• output: Output
<Exclude
<object
[K
], undefined
>>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:388
applyState()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:528
data()
Parameters
• inputs?: SocketsValues
<object
>
Returns
SocketsValues
<object
>
value
Overrides
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:145
deselectInput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:609
deselectOutput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:617
emitResized()
Returns
Promise
<void
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:289
execute()
Parameters
• input: never
• forward
• forwardExec: boolean
= true
Returns
void
| Promise
<void
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:704
fetchInputs()
Returns
Promise
<SocketsValues
<object
>>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:629
getArea()
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:655
getConnections()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:392
getData()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:945
getDataflowEngine()
Returns
undefined
| DataflowEngine
<Schemes
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:643
getDataWithInputs()
Type Parameters
• K extends "b"
| "a"
Parameters
• key: K
Returns
Promise
<SocketValueWithDatastructure
<SocketValueType
<object
[K
]["type"
]>, object
[K
]["datastructure"
]>>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:936
getEditor()
Returns
undefined
| NodeEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:647
getFactory()
Returns
undefined
| NodeFactory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:378
getNaturalFlow()
Returns
undefined
| string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:625
getOutData()
Returns
Record
<string
, unknown
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:998
getOutgoers()
Parameters
• key: string
Returns
null
| Node
<Record
<string
, Socket
<SocketType
, "scalar"
| "array"
>>, object
, object
, Record
<string
, unknown
>, Record
<string
, unknown
>>[]
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:499
getPosition()
Returns
undefined
| object
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:524
getState()
Returns
Record
<string
, unknown
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:381
getWaitForChildrenPromises()
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()
Parameters
• nodes: Node
<Record
<string
, Socket
<SocketType
, "scalar"
| "array"
>>, object
, object
, Record
<string
, unknown
>, Record
<string
, unknown
>>[]
Returns
Promise
<void
>[]
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:932
hasControl()
Type Parameters
• K extends string
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:486
hasInput()
Type Parameters
• K extends "b"
| "a"
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:469
hasOutput()
Type Parameters
• K extends "value"
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:480
makeInputControl()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:875
oldAddInData()
Type Parameters
• N
Parameters
• __namedParameters: InDataParams
<N
>
Returns
Input
<Socket
<SocketType
, "scalar"
| "array"
>>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:855
oldAddOutData()
Parameters
• __namedParameters: OutDataParams
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:762
onEndExecute()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:660
processDataflow()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:917
removeControl()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:492
removeInput()
Parameters
• key: "b"
| "a"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:472
removeOutput()
Parameters
• key: "value"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:483
selectInput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:605
selectOutput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:613
setData()
Parameters
• key: string
• value: unknown
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:991
setFactory()
Parameters
• nodeFactory: NodeFactory
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:651
setNaturalFlow()
Parameters
• outExec: undefined
| string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:621
setState()
Parameters
• state: Record
<string
, unknown
>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:495
toJSON()
Returns
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:532
updateElement()
Parameters
• type: "node"
| "connection"
| "socket"
| "control"
= 'node'
• id?: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:1002
waitForEndExecutePromise()
Returns
Promise
<void
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:670
fromJSON()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:572
NumberNode
A node that outputs a number.
Extends
InputControlNode
<"number"
>
Constructors
new NumberNode()
Parameters
• params?: NodeParams
Returns
Overrides
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:25
Properties
afterInitialize()?
Returns
void
Inherited from
InputControlNode
.afterInitialize
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:376
controls
Node controls
value
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:349
description
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:342
factory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:327
inConnections
Inherited from
InputControlNode
.inConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:402
inEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:323
ingoingDataConnections
Inherited from
InputControlNode
.ingoingDataConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:365
ingoingExecConnections
Inherited from
InputControlNode
.ingoingExecConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:366
initializePromise?
Inherited from
InputControlNode
.initializePromise
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:371
initialValues?
controls?
inputs?
Inherited from
InputControlNode
.initialValues
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:372
inputControl
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:38
inputs
Node inputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:343
inputTypes
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:676
label
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:441
needsProcessing
Inherited from
InputControlNode
.needsProcessing
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:350
onRemoveIngoingConnection()?
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
Inherited from
InputControlNode
.outConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:401
outgoingDataConnections
Inherited from
InputControlNode
.outgoingDataConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:367
outgoingExecConnections
Inherited from
InputControlNode
.outgoingExecConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:368
outputs
Node outputs
value?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:346
outputTypes
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:687
outSocket
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:39
pos
x
y
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:246
pythonComponent
Inherited from
InputControlNode
.pythonComponent
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:363
selectedInputs
Inherited from
InputControlNode
.selectedInputs
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:356
selectedOutputs
Inherited from
InputControlNode
.selectedOutputs
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:359
socketSelectionComponent
Inherited from
InputControlNode
.socketSelectionComponent
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:364
sortedControls
Inherited from
InputControlNode
.sortedControls
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:362
sortedInputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:351
sortedOutputs
Inherited from
InputControlNode
.sortedOutputs
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:352
state
Type declaration
name?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:331
visible
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:273
activeFactory
Inherited from
InputControlNode
.activeFactory
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:321
description
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:315
id
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:329
nodeCounts
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:330
visible
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:316
Accessors
area
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:307
editor
Returns
undefined
| NodeEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:303
height
Parameters
• h: number
Returns
number
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:277
id
Node id, unique string generated by getUID
function
Returns
string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:443
name
Parameters
• n: string
Returns
undefined
| string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:332
picked
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:465
previewed
Parameters
• previewed: boolean
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:447
rect
Returns
Rect
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:249
selected
Whether the node is selected. Default is false
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:461
view
Returns
undefined
| NodeView
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:311
width
Parameters
• w: number
Returns
number
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:274
Methods
addComponentByClass()
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()
Type Parameters
• K extends "value"
Parameters
• key: K
• control: object
[K
]
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:489
addInData()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:783
addInExec()
Parameters
• name: never
= ...
• displayName: string
= ''
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:719
addInput()
Type Parameters
• K extends never
Parameters
• key: K
• input: Input
<Exclude
<object
[K
], undefined
>>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:384
addInputControl()
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()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:728
addOutExec()
Parameters
• name: never
= ...
• displayName: string
= ''
• isNaturalFlow: boolean
= false
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:903
addOutput()
Type Parameters
• K extends "value"
Parameters
• key: K
• output: Output
<Exclude
<object
[K
], undefined
>>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:388
applyState()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:528
changeType()
Parameters
• type: "number"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:66
data()
Parameters
• inputs?
Returns
object
value
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:80
deselectInput()
Parameters
• key: string
Returns
void
Inherited from
InputControlNode
.deselectInput
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:609
deselectOutput()
Parameters
• key: string
Returns
void
Inherited from
InputControlNode
.deselectOutput
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:617
emitResized()
Returns
Promise
<void
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:289
execute()
Parameters
• input: never
• forward
• forwardExec: boolean
= true
Returns
void
| Promise
<void
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:704
fetchInputs()
Returns
Promise
<SocketsValues
<object
>>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:629
getArea()
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:655
getConnections()
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()
Type Parameters
• K extends never
Parameters
• key: K
• inputs?: Record
<never
, unknown
>
Returns
SocketValueWithDatastructure
<SocketValueType
<object
[K
]["type"
]>, object
[K
]["datastructure"
]>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:945
getDataflowEngine()
Returns
undefined
| DataflowEngine
<Schemes
>
Inherited from
InputControlNode
.getDataflowEngine
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:643
getDataWithInputs()
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()
Returns
undefined
| NodeEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:647
getFactory()
Returns
undefined
| NodeFactory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:378
getNaturalFlow()
Returns
undefined
| string
Inherited from
InputControlNode
.getNaturalFlow
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:625
getOutData()
Returns
Record
<string
, unknown
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:998
getOutgoers()
Parameters
• key: string
Returns
null
| Node
<Record
<string
, Socket
<SocketType
, "scalar"
| "array"
>>, object
, object
, Record
<string
, unknown
>, Record
<string
, unknown
>>[]
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:499
getPosition()
Returns
undefined
| object
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:524
getState()
Returns
Record
<string
, unknown
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:381
getWaitForChildrenPromises()
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()
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()
Type Parameters
• K extends "value"
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:486
hasInput()
Type Parameters
• K extends never
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:469
hasOutput()
Type Parameters
• K extends "value"
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:480
makeInputControl()
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()
Type Parameters
• N
Parameters
• __namedParameters: InDataParams
<N
>
Returns
Input
<Socket
<SocketType
, "scalar"
| "array"
>>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:855
oldAddOutData()
Parameters
• __namedParameters: OutDataParams
Returns
void
Inherited from
InputControlNode
.oldAddOutData
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:762
onEndExecute()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:660
processDataflow()
Returns
void
Inherited from
InputControlNode
.processDataflow
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:917
removeControl()
Parameters
• key: "value"
Returns
void
Inherited from
InputControlNode
.removeControl
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:492
removeInput()
Parameters
• key: never
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:472
removeOutput()
Parameters
• key: "value"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:483
selectInput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:605
selectOutput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:613
setData()
Parameters
• key: string
• value: unknown
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:991
setFactory()
Parameters
• nodeFactory: NodeFactory
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:651
setNaturalFlow()
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()
Parameters
• state: Record
<string
, unknown
>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:495
toJSON()
Returns
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:532
updateElement()
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()
Returns
Promise
<void
>
Inherited from
InputControlNode
.waitForEndExecutePromise
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:670
fromJSON()
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
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
ConverterNode
<"string"
,"number"
>
Constructors
new ParseNode()
Parameters
• params: NodeParams
= {}
Returns
Overrides
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:99
Properties
afterInitialize()?
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:376
controls
Node controls
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:349
convert?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:104
description
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:342
factory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:327
inConnections
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:402
inEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:323
ingoingDataConnections
Inherited from
ConverterNode
.ingoingDataConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:365
ingoingExecConnections
Inherited from
ConverterNode
.ingoingExecConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:366
initializePromise?
Inherited from
ConverterNode
.initializePromise
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:371
initialValues?
controls?
inputs?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:372
inputs
Node inputs
value?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:343
inputTypes
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:676
label
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:441
needsProcessing
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:350
onRemoveIngoingConnection()?
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
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:401
outgoingDataConnections
Inherited from
ConverterNode
.outgoingDataConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:367
outgoingExecConnections
Inherited from
ConverterNode
.outgoingExecConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:368
outputs
Node outputs
value?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:346
outputTypes
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:687
pos
x
y
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:246
pythonComponent
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:363
selectedInputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:356
selectedOutputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:359
socketSelectionComponent
Inherited from
ConverterNode
.socketSelectionComponent
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:364
sortedControls
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:362
sortedInputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:351
sortedOutputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:352
state
Type declaration
name?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:331
visible
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:273
activeFactory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:321
description
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:315
id
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:329
nodeCounts
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:330
visible
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:316
Accessors
area
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:307
editor
Returns
undefined
| NodeEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:303
height
Parameters
• h: number
Returns
number
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:277
id
Node id, unique string generated by getUID
function
Returns
string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:443
name
Parameters
• n: string
Returns
undefined
| string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:332
picked
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:465
previewed
Parameters
• previewed: boolean
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:447
rect
Returns
Rect
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:249
selected
Whether the node is selected. Default is false
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:461
view
Returns
undefined
| NodeView
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:311
width
Parameters
• w: number
Returns
number
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:274
Methods
addComponentByClass()
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()
Type Parameters
• K extends string
Parameters
• key: K
• control: Control
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:489
addInData()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:783
addInExec()
Parameters
• name: never
= ...
• displayName: string
= ''
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:719
addInput()
Type Parameters
• K extends "value"
Parameters
• key: K
• input: Input
<Exclude
<object
[K
], undefined
>>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:384
addInputControl()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:890
addOutData()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:728
addOutExec()
Parameters
• name: never
= ...
• displayName: string
= ''
• isNaturalFlow: boolean
= false
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:903
addOutput()
Type Parameters
• K extends "value"
Parameters
• key: K
• output: Output
<Exclude
<object
[K
], undefined
>>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:388
applyState()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:528
data()
Parameters
• inputs?: SocketsValues
<object
>
Returns
SocketsValues
<object
>
value
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:119
deselectInput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:609
deselectOutput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:617
emitResized()
Returns
Promise
<void
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:289
execute()
Parameters
• input: never
• forward
• forwardExec: boolean
= true
Returns
void
| Promise
<void
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:704
fetchInputs()
Returns
Promise
<SocketsValues
<object
>>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:629
getArea()
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:655
getConnections()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:392
getData()
Type Parameters
• K extends "value"
Parameters
• key: K
• inputs?: Record
<"value"
, unknown
>
Returns
SocketValueWithDatastructure
<SocketValueType
<object
[K
]["type"
]>, object
[K
]["datastructure"
]>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:945
getDataflowEngine()
Returns
undefined
| DataflowEngine
<Schemes
>
Inherited from
ConverterNode
.getDataflowEngine
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:643
getDataWithInputs()
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()
Returns
undefined
| NodeEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:647
getFactory()
Returns
undefined
| NodeFactory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:378
getNaturalFlow()
Returns
undefined
| string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:625
getOutData()
Returns
Record
<string
, unknown
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:998
getOutgoers()
Parameters
• key: string
Returns
null
| Node
<Record
<string
, Socket
<SocketType
, "scalar"
| "array"
>>, object
, object
, Record
<string
, unknown
>, Record
<string
, unknown
>>[]
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:499
getPosition()
Returns
undefined
| object
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:524
getState()
Returns
Record
<string
, unknown
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:381
getWaitForChildrenPromises()
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()
Parameters
• nodes: Node
<Record
<string
, Socket
<SocketType
, "scalar"
| "array"
>>, object
, object
, Record
<string
, unknown
>, Record
<string
, unknown
>>[]
Returns
Promise
<void
>[]
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:932
hasControl()
Type Parameters
• K extends string
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:486
hasInput()
Type Parameters
• K extends "value"
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:469
hasOutput()
Type Parameters
• K extends "value"
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:480
makeInputControl()
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()
Type Parameters
• N
Parameters
• __namedParameters: InDataParams
<N
>
Returns
Input
<Socket
<SocketType
, "scalar"
| "array"
>>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:855
oldAddOutData()
Parameters
• __namedParameters: OutDataParams
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:762
onEndExecute()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:660
processDataflow()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:917
removeControl()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:492
removeInput()
Parameters
• key: "value"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:472
removeOutput()
Parameters
• key: "value"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:483
selectInput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:605
selectOutput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:613
setData()
Parameters
• key: string
• value: unknown
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:991
setFactory()
Parameters
• nodeFactory: NodeFactory
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:651
setNaturalFlow()
Parameters
• outExec: undefined
| string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:621
setState()
Parameters
• state: Record
<string
, unknown
>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:495
toJSON()
Returns
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:532
updateElement()
Parameters
• type: "node"
| "connection"
| "socket"
| "control"
= 'node'
• id?: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:1002
waitForEndExecutePromise()
Returns
Promise
<void
>
Inherited from
ConverterNode
.waitForEndExecutePromise
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:670
fromJSON()
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
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
ConverterNode
<"number"
,"integer"
>
Constructors
new RoundNode()
Parameters
• params: NodeParams
= {}
Returns
Overrides
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:83
Properties
afterInitialize()?
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:376
controls
Node controls
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:349
convert?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:104
description
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:342
factory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:327
inConnections
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:402
inEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:323
ingoingDataConnections
Inherited from
ConverterNode
.ingoingDataConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:365
ingoingExecConnections
Inherited from
ConverterNode
.ingoingExecConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:366
initializePromise?
Inherited from
ConverterNode
.initializePromise
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:371
initialValues?
controls?
inputs?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:372
inputs
Node inputs
value?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:343
inputTypes
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:676
label
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:441
needsProcessing
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:350
onRemoveIngoingConnection()?
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
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:401
outgoingDataConnections
Inherited from
ConverterNode
.outgoingDataConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:367
outgoingExecConnections
Inherited from
ConverterNode
.outgoingExecConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:368
outputs
Node outputs
value?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:346
outputTypes
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:687
pos
x
y
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:246
pythonComponent
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:363
selectedInputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:356
selectedOutputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:359
socketSelectionComponent
Inherited from
ConverterNode
.socketSelectionComponent
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:364
sortedControls
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:362
sortedInputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:351
sortedOutputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:352
state
Type declaration
name?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:331
visible
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:273
activeFactory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:321
description
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:315
id
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:329
nodeCounts
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:330
visible
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:316
Accessors
area
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:307
editor
Returns
undefined
| NodeEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:303
height
Parameters
• h: number
Returns
number
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:277
id
Node id, unique string generated by getUID
function
Returns
string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:443
name
Parameters
• n: string
Returns
undefined
| string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:332
picked
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:465
previewed
Parameters
• previewed: boolean
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:447
rect
Returns
Rect
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:249
selected
Whether the node is selected. Default is false
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:461
view
Returns
undefined
| NodeView
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:311
width
Parameters
• w: number
Returns
number
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:274
Methods
addComponentByClass()
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()
Type Parameters
• K extends string
Parameters
• key: K
• control: Control
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:489
addInData()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:783
addInExec()
Parameters
• name: never
= ...
• displayName: string
= ''
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:719
addInput()
Type Parameters
• K extends "value"
Parameters
• key: K
• input: Input
<Exclude
<object
[K
], undefined
>>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:384
addInputControl()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:890
addOutData()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:728
addOutExec()
Parameters
• name: never
= ...
• displayName: string
= ''
• isNaturalFlow: boolean
= false
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:903
addOutput()
Type Parameters
• K extends "value"
Parameters
• key: K
• output: Output
<Exclude
<object
[K
], undefined
>>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:388
applyState()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:528
data()
Parameters
• inputs?: SocketsValues
<object
>
Returns
SocketsValues
<object
>
value
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:119
deselectInput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:609
deselectOutput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:617
emitResized()
Returns
Promise
<void
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:289
execute()
Parameters
• input: never
• forward
• forwardExec: boolean
= true
Returns
void
| Promise
<void
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:704
fetchInputs()
Returns
Promise
<SocketsValues
<object
>>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:629
getArea()
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:655
getConnections()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:392
getData()
Type Parameters
• K extends "value"
Parameters
• key: K
• inputs?: Record
<"value"
, unknown
>
Returns
SocketValueWithDatastructure
<SocketValueType
<object
[K
]["type"
]>, object
[K
]["datastructure"
]>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:945
getDataflowEngine()
Returns
undefined
| DataflowEngine
<Schemes
>
Inherited from
ConverterNode
.getDataflowEngine
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:643
getDataWithInputs()
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()
Returns
undefined
| NodeEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:647
getFactory()
Returns
undefined
| NodeFactory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:378
getNaturalFlow()
Returns
undefined
| string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:625
getOutData()
Returns
Record
<string
, unknown
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:998
getOutgoers()
Parameters
• key: string
Returns
null
| Node
<Record
<string
, Socket
<SocketType
, "scalar"
| "array"
>>, object
, object
, Record
<string
, unknown
>, Record
<string
, unknown
>>[]
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:499
getPosition()
Returns
undefined
| object
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:524
getState()
Returns
Record
<string
, unknown
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:381
getWaitForChildrenPromises()
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()
Parameters
• nodes: Node
<Record
<string
, Socket
<SocketType
, "scalar"
| "array"
>>, object
, object
, Record
<string
, unknown
>, Record
<string
, unknown
>>[]
Returns
Promise
<void
>[]
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:932
hasControl()
Type Parameters
• K extends string
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:486
hasInput()
Type Parameters
• K extends "value"
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:469
hasOutput()
Type Parameters
• K extends "value"
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:480
makeInputControl()
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()
Type Parameters
• N
Parameters
• __namedParameters: InDataParams
<N
>
Returns
Input
<Socket
<SocketType
, "scalar"
| "array"
>>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:855
oldAddOutData()
Parameters
• __namedParameters: OutDataParams
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:762
onEndExecute()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:660
processDataflow()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:917
removeControl()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:492
removeInput()
Parameters
• key: "value"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:472
removeOutput()
Parameters
• key: "value"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:483
selectInput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:605
selectOutput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:613
setData()
Parameters
• key: string
• value: unknown
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:991
setFactory()
Parameters
• nodeFactory: NodeFactory
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:651
setNaturalFlow()
Parameters
• outExec: undefined
| string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:621
setState()
Parameters
• state: Record
<string
, unknown
>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:495
toJSON()
Returns
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:532
updateElement()
Parameters
• type: "node"
| "connection"
| "socket"
| "control"
= 'node'
• id?: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:1002
waitForEndExecutePromise()
Returns
Promise
<void
>
Inherited from
ConverterNode
.waitForEndExecutePromise
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:670
fromJSON()
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
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
ConverterNode
<"number"
,"boolean"
>
Constructors
new ToBoolNode()
Parameters
• params: NodeParams
= {}
Returns
Overrides
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:115
Properties
afterInitialize()?
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:376
controls
Node controls
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:349
convert?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:104
description
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:342
factory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:327
inConnections
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:402
inEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:323
ingoingDataConnections
Inherited from
ConverterNode
.ingoingDataConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:365
ingoingExecConnections
Inherited from
ConverterNode
.ingoingExecConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:366
initializePromise?
Inherited from
ConverterNode
.initializePromise
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:371
initialValues?
controls?
inputs?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:372
inputs
Node inputs
value?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:343
inputTypes
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:676
label
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:441
needsProcessing
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:350
onRemoveIngoingConnection()?
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
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:401
outgoingDataConnections
Inherited from
ConverterNode
.outgoingDataConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:367
outgoingExecConnections
Inherited from
ConverterNode
.outgoingExecConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:368
outputs
Node outputs
value?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:346
outputTypes
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:687
pos
x
y
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:246
pythonComponent
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:363
selectedInputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:356
selectedOutputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:359
socketSelectionComponent
Inherited from
ConverterNode
.socketSelectionComponent
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:364
sortedControls
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:362
sortedInputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:351
sortedOutputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:352
state
Type declaration
name?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:331
visible
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:273
activeFactory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:321
description
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:315
id
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:329
nodeCounts
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:330
visible
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:316
Accessors
area
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:307
editor
Returns
undefined
| NodeEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:303
height
Parameters
• h: number
Returns
number
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:277
id
Node id, unique string generated by getUID
function
Returns
string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:443
name
Parameters
• n: string
Returns
undefined
| string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:332
picked
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:465
previewed
Parameters
• previewed: boolean
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:447
rect
Returns
Rect
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:249
selected
Whether the node is selected. Default is false
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:461
view
Returns
undefined
| NodeView
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:311
width
Parameters
• w: number
Returns
number
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:274
Methods
addComponentByClass()
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()
Type Parameters
• K extends string
Parameters
• key: K
• control: Control
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:489
addInData()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:783
addInExec()
Parameters
• name: never
= ...
• displayName: string
= ''
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:719
addInput()
Type Parameters
• K extends "value"
Parameters
• key: K
• input: Input
<Exclude
<object
[K
], undefined
>>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:384
addInputControl()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:890
addOutData()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:728
addOutExec()
Parameters
• name: never
= ...
• displayName: string
= ''
• isNaturalFlow: boolean
= false
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:903
addOutput()
Type Parameters
• K extends "value"
Parameters
• key: K
• output: Output
<Exclude
<object
[K
], undefined
>>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:388
applyState()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:528
data()
Parameters
• inputs?: SocketsValues
<object
>
Returns
SocketsValues
<object
>
value
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:119
deselectInput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:609
deselectOutput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:617
emitResized()
Returns
Promise
<void
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:289
execute()
Parameters
• input: never
• forward
• forwardExec: boolean
= true
Returns
void
| Promise
<void
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:704
fetchInputs()
Returns
Promise
<SocketsValues
<object
>>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:629
getArea()
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:655
getConnections()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:392
getData()
Type Parameters
• K extends "value"
Parameters
• key: K
• inputs?: Record
<"value"
, unknown
>
Returns
SocketValueWithDatastructure
<SocketValueType
<object
[K
]["type"
]>, object
[K
]["datastructure"
]>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:945
getDataflowEngine()
Returns
undefined
| DataflowEngine
<Schemes
>
Inherited from
ConverterNode
.getDataflowEngine
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:643
getDataWithInputs()
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()
Returns
undefined
| NodeEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:647
getFactory()
Returns
undefined
| NodeFactory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:378
getNaturalFlow()
Returns
undefined
| string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:625
getOutData()
Returns
Record
<string
, unknown
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:998
getOutgoers()
Parameters
• key: string
Returns
null
| Node
<Record
<string
, Socket
<SocketType
, "scalar"
| "array"
>>, object
, object
, Record
<string
, unknown
>, Record
<string
, unknown
>>[]
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:499
getPosition()
Returns
undefined
| object
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:524
getState()
Returns
Record
<string
, unknown
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:381
getWaitForChildrenPromises()
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()
Parameters
• nodes: Node
<Record
<string
, Socket
<SocketType
, "scalar"
| "array"
>>, object
, object
, Record
<string
, unknown
>, Record
<string
, unknown
>>[]
Returns
Promise
<void
>[]
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:932
hasControl()
Type Parameters
• K extends string
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:486
hasInput()
Type Parameters
• K extends "value"
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:469
hasOutput()
Type Parameters
• K extends "value"
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:480
makeInputControl()
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()
Type Parameters
• N
Parameters
• __namedParameters: InDataParams
<N
>
Returns
Input
<Socket
<SocketType
, "scalar"
| "array"
>>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:855
oldAddOutData()
Parameters
• __namedParameters: OutDataParams
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:762
onEndExecute()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:660
processDataflow()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:917
removeControl()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:492
removeInput()
Parameters
• key: "value"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:472
removeOutput()
Parameters
• key: "value"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:483
selectInput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:605
selectOutput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:613
setData()
Parameters
• key: string
• value: unknown
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:991
setFactory()
Parameters
• nodeFactory: NodeFactory
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:651
setNaturalFlow()
Parameters
• outExec: undefined
| string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:621
setState()
Parameters
• state: Record
<string
, unknown
>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:495
toJSON()
Returns
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:532
updateElement()
Parameters
• type: "node"
| "connection"
| "socket"
| "control"
= 'node'
• id?: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:1002
waitForEndExecutePromise()
Returns
Promise
<void
>
Inherited from
ConverterNode
.waitForEndExecutePromise
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:670
fromJSON()
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
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
ConverterNode
<"number"
,"string"
>
Constructors
new ToStringNode()
Parameters
• params: NodeParams
= {}
Returns
Overrides
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/number.ts:35
Properties
afterInitialize()?
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:376
controls
Node controls
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:349
convert?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:104
description
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:342
factory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:327
inConnections
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:402
inEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:323
ingoingDataConnections
Inherited from
ConverterNode
.ingoingDataConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:365
ingoingExecConnections
Inherited from
ConverterNode
.ingoingExecConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:366
initializePromise?
Inherited from
ConverterNode
.initializePromise
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:371
initialValues?
controls?
inputs?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:372
inputs
Node inputs
value?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:343
inputTypes
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:676
label
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:441
needsProcessing
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:350
onRemoveIngoingConnection()?
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
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:401
outgoingDataConnections
Inherited from
ConverterNode
.outgoingDataConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:367
outgoingExecConnections
Inherited from
ConverterNode
.outgoingExecConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:368
outputs
Node outputs
value?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:346
outputTypes
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:687
pos
x
y
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:246
pythonComponent
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:363
selectedInputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:356
selectedOutputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:359
socketSelectionComponent
Inherited from
ConverterNode
.socketSelectionComponent
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:364
sortedControls
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:362
sortedInputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:351
sortedOutputs
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:352
state
Type declaration
name?
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:331
visible
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:273
activeFactory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:321
description
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:315
id
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:329
nodeCounts
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:330
visible
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:316
Accessors
area
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:307
editor
Returns
undefined
| NodeEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:303
height
Parameters
• h: number
Returns
number
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:277
id
Node id, unique string generated by getUID
function
Returns
string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:443
name
Parameters
• n: string
Returns
undefined
| string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:332
picked
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:465
previewed
Parameters
• previewed: boolean
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:447
rect
Returns
Rect
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:249
selected
Whether the node is selected. Default is false
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:461
view
Returns
undefined
| NodeView
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:311
width
Parameters
• w: number
Returns
number
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:274
Methods
addComponentByClass()
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()
Type Parameters
• K extends string
Parameters
• key: K
• control: Control
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:489
addInData()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:783
addInExec()
Parameters
• name: never
= ...
• displayName: string
= ''
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:719
addInput()
Type Parameters
• K extends "value"
Parameters
• key: K
• input: Input
<Exclude
<object
[K
], undefined
>>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:384
addInputControl()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:890
addOutData()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:728
addOutExec()
Parameters
• name: never
= ...
• displayName: string
= ''
• isNaturalFlow: boolean
= false
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:903
addOutput()
Type Parameters
• K extends "value"
Parameters
• key: K
• output: Output
<Exclude
<object
[K
], undefined
>>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:388
applyState()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:528
data()
Parameters
• inputs?: SocketsValues
<object
>
Returns
SocketsValues
<object
>
value
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/common-data-nodes.svelte.ts:119
deselectInput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:609
deselectOutput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:617
emitResized()
Returns
Promise
<void
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:289
execute()
Parameters
• input: never
• forward
• forwardExec: boolean
= true
Returns
void
| Promise
<void
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:704
fetchInputs()
Returns
Promise
<SocketsValues
<object
>>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:629
getArea()
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:655
getConnections()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:392
getData()
Type Parameters
• K extends "value"
Parameters
• key: K
• inputs?: Record
<"value"
, unknown
>
Returns
SocketValueWithDatastructure
<SocketValueType
<object
[K
]["type"
]>, object
[K
]["datastructure"
]>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:945
getDataflowEngine()
Returns
undefined
| DataflowEngine
<Schemes
>
Inherited from
ConverterNode
.getDataflowEngine
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:643
getDataWithInputs()
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()
Returns
undefined
| NodeEditor
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:647
getFactory()
Returns
undefined
| NodeFactory
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:378
getNaturalFlow()
Returns
undefined
| string
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:625
getOutData()
Returns
Record
<string
, unknown
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:998
getOutgoers()
Parameters
• key: string
Returns
null
| Node
<Record
<string
, Socket
<SocketType
, "scalar"
| "array"
>>, object
, object
, Record
<string
, unknown
>, Record
<string
, unknown
>>[]
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:499
getPosition()
Returns
undefined
| object
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:524
getState()
Returns
Record
<string
, unknown
>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:381
getWaitForChildrenPromises()
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()
Parameters
• nodes: Node
<Record
<string
, Socket
<SocketType
, "scalar"
| "array"
>>, object
, object
, Record
<string
, unknown
>, Record
<string
, unknown
>>[]
Returns
Promise
<void
>[]
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:932
hasControl()
Type Parameters
• K extends string
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:486
hasInput()
Type Parameters
• K extends "value"
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:469
hasOutput()
Type Parameters
• K extends "value"
Parameters
• key: K
Returns
boolean
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:480
makeInputControl()
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()
Type Parameters
• N
Parameters
• __namedParameters: InDataParams
<N
>
Returns
Input
<Socket
<SocketType
, "scalar"
| "array"
>>
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:855
oldAddOutData()
Parameters
• __namedParameters: OutDataParams
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:762
onEndExecute()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:660
processDataflow()
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:917
removeControl()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:492
removeInput()
Parameters
• key: "value"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:472
removeOutput()
Parameters
• key: "value"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:483
selectInput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:605
selectOutput()
Parameters
• key: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:613
setData()
Parameters
• key: string
• value: unknown
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:991
setFactory()
Parameters
• nodeFactory: NodeFactory
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:651
setNaturalFlow()
Parameters
• outExec: undefined
| string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:621
setState()
Parameters
• state: Record
<string
, unknown
>
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:495
toJSON()
Returns
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:532
updateElement()
Parameters
• type: "node"
| "connection"
| "socket"
| "control"
= 'node'
• id?: string
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:1002
waitForEndExecutePromise()
Returns
Promise
<void
>
Inherited from
ConverterNode
.waitForEndExecutePromise
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:670
fromJSON()
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:572