DynamicTypeComponent
Classes
DynamicTypeComponent<Inputs, Outputs>
Extends
NodeComponent
<Inputs
,Outputs
>
Type Parameters
• Inputs extends Record
<string
, Socket
> = Record
<string
, Socket
>
• Outputs extends Record
<string
, Socket
> = Record
<string
, Socket
>
Constructors
new DynamicTypeComponent()
Parameters
• params: DynamicTypeParams
<Inputs
, Outputs
>
Returns
DynamicTypeComponent
<Inputs
, Outputs
>
Overrides
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/components/DynamicTypeComponent.svelte.ts:33
Properties
cleanup()?
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/components/BaseComponent.ts:13
numConnections
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/components/DynamicTypeComponent.svelte.ts:20
params
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/components/DynamicTypeComponent.svelte.ts:32
Accessors
dynamicTypeInputs
Returns
"*"
| keyof Inputs
[]
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/components/DynamicTypeComponent.svelte.ts:26
dynamicTypeOutputs
Returns
"*"
| keyof Outputs
[]
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/components/DynamicTypeComponent.svelte.ts:29
state
Returns
object
type
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/components/DynamicTypeComponent.svelte.ts:22
Methods
changeType()
Parameters
• type: SocketType
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/components/DynamicTypeComponent.svelte.ts:99
Type Aliases
DynamicTypeParams<Inputs, Outputs>
Type declaration
initial?
inputs?
outputs?
Type Parameters
• Inputs extends R
= R
• Outputs extends Record
<string
, Socket
> = Record
<string
, Socket
>
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/components/DynamicTypeComponent.svelte.ts:8