Node
Ce contenu n’est pas encore disponible dans votre langue.
Classes
Connection<A, B>
Extends
Connection
<A
,B
>
Type Parameters
Constructors
new Connection()
Parameters
• source: A
Source node instance
• sourceOutput: keyof A
["outputs"
]
Source node output key
• target: B
Target node instance
• targetInput: keyof B
["inputs"
]
Target node input key
Returns
Connection
<A
, B
>
Inherited from
ClassicPreset.Connection<A, B>.constructor
Defined in
tmp/graph-editor/node_modules/rete/_types/presets/classic.d.ts:216
Properties
factory?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:1040
id
Connection id, unique string generated by getUID
function
Inherited from
ClassicPreset.Connection.id
Defined in
tmp/graph-editor/node_modules/rete/_types/presets/classic.d.ts:200
source
Source node id
Inherited from
ClassicPreset.Connection.source
Defined in
tmp/graph-editor/node_modules/rete/_types/presets/classic.d.ts:204
sourceOutput
Inherited from
ClassicPreset.Connection.sourceOutput
Defined in
tmp/graph-editor/node_modules/rete/_types/presets/classic.d.ts:195
target
Target node id
Inherited from
ClassicPreset.Connection.target
Defined in
tmp/graph-editor/node_modules/rete/_types/presets/classic.d.ts:208
targetInput
Inherited from
ClassicPreset.Connection.targetInput
Defined in
tmp/graph-editor/node_modules/rete/_types/presets/classic.d.ts:196
visible
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:1027
Accessors
picked
Returns
boolean
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:1037
selected
Returns
boolean
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:1033
Methods
toJSON()
Returns
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:1042
Node<Inputs, Outputs, Controls, State, Params>
Extended by
APINode
AddPinNode
InputNode
MacroNode
GetNameNode
VariableNode
XmlToString
XmlNode
EveryNode
ForEachNode
StartNode
TimeLoopNode
SleepNode
SelectNode
MergeArraysNode
GetArrayElementNode
MakeArrayNode
JoinNode
BreakArrayNode
NotNode
InputControlNode
ConverterNode
AddNode
SubtractNode
MultiplyNode
MultiplyNode
AppendNode
DisplayNode
DownloadNode
FormatNode
LogNode
BreakNode
AddNode
Type Parameters
• Inputs extends Record
<string
, Socket
> = Record
<string
, Socket
>
• Outputs extends { [key in string]: Socket }
= { [key in string]: Socket }
• Controls extends { [key in string]: Control }
= { [key in string]: Control }
• State extends Record
<string
, unknown
> = Record
<string
, unknown
>
• Params extends Record
<string
, unknown
> = Record
<string
, unknown
>
Implements
Node
<Inputs
,Outputs
,Controls
>DataflowNode
ComponentSupportInterface
Constructors
new Node()
Parameters
• params: NodeParams
= {}
Returns
Node
<Inputs
, Outputs
, Controls
, State
, Params
>
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:404
Properties
afterInitialize()?
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:376
controls
Node controls
Implementation of
ClassicPreset.Node.controls
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:349
description
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:342
factory
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:327
inConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:402
inEditor
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:323
ingoingDataConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:365
ingoingExecConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:366
initializePromise?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:371
initialValues?
controls?
inputs?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:372
inputs
Node inputs
Implementation of
ClassicPreset.Node.inputs
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:343
inputTypes
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:676
label
Implementation of
ClassicPreset.Node.label
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:441
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:369
outConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:401
outgoingDataConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:367
outgoingExecConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:368
outputs
Node outputs
Implementation of
ClassicPreset.Node.outputs
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:346
outputTypes
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:687
pos
x
y
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:246
pythonComponent
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:363
selectedInputs
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:356
selectedOutputs
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:359
socketSelectionComponent
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:364
sortedControls
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:362
sortedInputs
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:351
sortedOutputs
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:352
state
Type declaration
name?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:331
visible
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:273
activeFactory
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:321
description
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:315
id
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:329
nodeCounts
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:330
visible
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:316
Accessors
area
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:307
editor
Returns
undefined
| NodeEditor
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:303
height
Parameters
• h: number
Returns
number
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
Implementation of
ClassicPreset.Node.id
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:443
name
Parameters
• n: string
Returns
undefined
| string
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:332
picked
Returns
boolean
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:465
previewed
Parameters
• previewed: boolean
Returns
boolean
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:447
rect
Returns
Rect
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
Implementation of
ClassicPreset.Node.selected
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:461
view
Returns
undefined
| NodeView
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:311
width
Parameters
• w: number
Returns
number
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
Implementation of
ComponentSupportInterface
.addComponentByClass
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:512
addControl()
Type Parameters
• K extends string
| number
| symbol
Parameters
• key: K
• control: Controls
[K
]
Returns
void
Implementation of
ClassicPreset.Node.addControl
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:489
addInData()
Type Parameters
• K extends string
| number
| symbol
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?: Inputs
[K
]["datastructure"
] extends "scalar"
? undefined
| "scalar"
: Inputs
[K
]["datastructure"
]
• params.description?: string
• params.hideLabel?: boolean
• params.index?: number
• params.initial?: SocketValueType
<Inputs
[K
]["type"
]>
• params.isRequired?: boolean
• params.label?: string
• params.options?: string
[]
• params.props?: HTMLInputAttributes
• params.type?: Inputs
[K
]["type"
]
Returns
Input
<Inputs
[K
]>
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:783
addInExec()
Parameters
• name: ExecSocketsKeys
<Inputs
> = ...
• displayName: string
= ''
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:719
addInput()
Type Parameters
• K extends string
| number
| symbol
Parameters
• key: K
• input: Input
<Exclude
<Inputs
[K
], undefined
>>
Returns
void
Implementation of
ClassicPreset.Node.addInput
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: keyof Controls
• params: InputControlParams
<T
>
Returns
InputControl
<T
, "scalar"
| "array"
>
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:890
addOutData()
Type Parameters
• K extends string
Parameters
• key: K
• params
• params.datastructure?: Outputs
[K
]["datastructure"
]
• params.description?: string
• params.index?: number
• params.isArray?: boolean
• params.label?: string
• params.showLabel?: boolean
• params.type: Outputs
[K
]["type"
]
Returns
Socket
<Outputs
[K
]["type"
], "scalar"
| Outputs
[K
]["datastructure"
]>
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:728
addOutExec()
Parameters
• name: ExecSocketsKeys
<Outputs
> = ...
• displayName: string
= ''
• isNaturalFlow: boolean
= false
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:903
addOutput()
Type Parameters
• K extends string
| number
| symbol
Parameters
• key: K
• output: Output
<Exclude
<Outputs
[K
], undefined
>>
Returns
void
Implementation of
ClassicPreset.Node.addOutput
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:388
applyState()
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:528
data()
Parameters
• inputs?: SocketsValues
<Inputs
>
Returns
SocketsValues
<DataSockets
<Outputs
>> | Promise
<SocketsValues
<DataSockets
<Outputs
>>>
Implementation of
DataflowNode.data
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:978
deselectInput()
Parameters
• key: string
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:609
deselectOutput()
Parameters
• key: string
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:617
emitResized()
Returns
Promise
<void
>
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:289
execute()
Parameters
• input: ExecSocketsKeys
<Inputs
>
• forward
• forwardExec: boolean
= true
Returns
void
| Promise
<void
>
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:704
fetchInputs()
Returns
Promise
<SocketsValues
<Inputs
>>
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:629
getArea()
Returns
undefined
| AreaPlugin
<Schemes
, AreaExtra
>
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
>>>[]
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:392
getData()
Type Parameters
• K extends string
| number
| symbol
Parameters
• key: K
• inputs?: Record
<keyof Inputs
, unknown
>
Returns
SocketValueWithDatastructure
<SocketValueType
<Inputs
[K
]["type"
]>, Inputs
[K
]["datastructure"
]>
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:945
getDataflowEngine()
Returns
undefined
| DataflowEngine
<Schemes
>
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:643
getDataWithInputs()
Type Parameters
• K extends string
| number
| symbol
Parameters
• key: K
Returns
Promise
<SocketValueWithDatastructure
<SocketValueType
<Inputs
[K
]["type"
]>, Inputs
[K
]["datastructure"
]>>
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:936
getEditor()
Returns
undefined
| NodeEditor
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:647
getFactory()
Returns
undefined
| NodeFactory
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:378
getNaturalFlow()
Returns
undefined
| string
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:625
getOutData()
Returns
Record
<string
, unknown
>
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
>>[]
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:499
getPosition()
Returns
undefined
| object
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:524
getState()
Returns
Record
<string
, unknown
>
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:381
getWaitForChildrenPromises()
Parameters
• output: ExecSocketsKeys
<Outputs
>
Returns
Promise
<void
>
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
>[]
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:932
hasControl()
Type Parameters
• K extends string
| number
| symbol
Parameters
• key: K
Returns
boolean
Implementation of
ClassicPreset.Node.hasControl
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:486
hasInput()
Type Parameters
• K extends string
| number
| symbol
Parameters
• key: K
Returns
boolean
Implementation of
ClassicPreset.Node.hasInput
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:469
hasOutput()
Type Parameters
• K extends string
| number
| symbol
Parameters
• key: K
Returns
boolean
Implementation of
ClassicPreset.Node.hasOutput
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"
>
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"
>>
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:855
oldAddOutData()
Parameters
• __namedParameters: OutDataParams
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:762
onEndExecute()
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:660
processDataflow()
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:917
removeControl()
Parameters
• key: keyof Controls
Returns
void
Implementation of
ClassicPreset.Node.removeControl
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:492
removeInput()
Parameters
• key: keyof Inputs
Returns
void
Implementation of
ClassicPreset.Node.removeInput
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:472
removeOutput()
Parameters
• key: keyof Outputs
Returns
void
Implementation of
ClassicPreset.Node.removeOutput
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:483
selectInput()
Parameters
• key: string
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:605
selectOutput()
Parameters
• key: string
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:613
setData()
Parameters
• key: string
• value: unknown
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:991
setFactory()
Parameters
• nodeFactory: NodeFactory
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:651
setNaturalFlow()
Parameters
• outExec: undefined
| string
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:621
setState()
Parameters
• state: Record
<string
, unknown
>
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:495
toJSON()
Returns
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
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:1002
waitForEndExecutePromise()
Returns
Promise
<void
>
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
>>>
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:572
Interfaces
InDataParams<N>
Type Parameters
• N
Properties
control?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:105
displayName?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:103
index?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:109
initial?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:104
isArray?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:107
isRequired?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:106
name
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:102
socketLabel?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:101
type?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:108
NodeParams
Extended by
Properties
description?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:135
factory?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:140
height?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:139
id?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:137
initialValues?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:142
label?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:134
name?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:136
params?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:141
state?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:143
width?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:138
OutDataParams
Properties
displayLabel?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:94
displayName?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:95
isArray?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:96
name
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:93
socketLabel?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:92
type?
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:97
Type Aliases
ConnectionSaveData
Type declaration
id
source
sourceOutput
target
targetInput
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:1012
NodeConstructor()<N>
Type Parameters
• N = Node
Parameters
• params?: NodeParams
Returns
N
Type declaration
description?
Description of the node.
id?
path?
Menu path of the node.
tags?
Search tags of the node.
visible?
Visibility of node
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:157
NodeSaveData
Type declaration
id
inputControlValues
params
position?
position.x
position.y
selectedInputs
selectedOutputs
state
type
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:146
SocketsValues<Sockets>
Type Parameters
• Sockets extends { [key in string]: Socket }
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:199
Variables
converters
Registered converter nodes, from source to target.
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:74
nodeRegistry
A map of node classes indexed by their id.
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:45
Functions
description()
Decorator that adds a description to a node.
Type Parameters
• N
Parameters
• description: string
Returns
Function
Parameters
• target: NodeConstructor
<N
>
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:191
hidden()
Parameters
• nodeClass: NodeConstructor
<Node
<Record
<string
, Socket
<SocketType
, "scalar"
| "array"
>>, object
, object
, Record
<string
, unknown
>, Record
<string
, unknown
>>>
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:87
path()
Decorator that adds a path to a node.
Type Parameters
• N
Parameters
• …path: string
[]
Returns
Function
Parameters
• target: NodeConstructor
<N
>
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:173
registerConverter()
Registers a converter node.
Type Parameters
• S extends DataType
• T extends DataType
Parameters
• source: S
• target: T
Returns
Function
Parameters
• nodeClass: typeof ConverterNode
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:79
registerNode()
Registers a node class.
Type Parameters
• Inputs extends object
• Outputs extends object
• Controls extends object
• T extends "abstract"
| "real"
= "real"
Parameters
• id: string
• type?: T
Returns
Function
Parameters
• target: T
extends "abstract"
? unknown
: NodeConstructor
<Node
<Inputs
, Outputs
, Controls
, Record
<string
, unknown
>, Record
<string
, unknown
>>>
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:50
tags()
Decorator that adds tags to a node
Type Parameters
• N
Parameters
• …tags: string
[]
Returns
Function
Parameters
• target: NodeConstructor
<N
>
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:182