vector
Nodes for creating and manipulating vectors.
Classes
VectorNode
A node that outputs a vector.
Extends
InputControlNode
<"vector"
>
Constructors
new VectorNode()
Parameters
• params?: NodeParams
Returns
Overrides
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/data/vector.ts:16
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: "vector"
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
value.x
value.y
value.z
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