DisplayNode
Ce contenu n’est pas encore disponible dans votre langue.
Classes
DisplayNode
This node displays the value of an input.
Extends
Node
<object
,object
,object
>
Constructors
new DisplayNode()
Parameters
• params: NodeParams
& object
= {}
Returns
Overrides
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/io/DisplayNode.ts:23
Properties
afterInitialize()?
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:376
controls
Node controls
display
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
input?
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
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 "display"
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 "input"
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 "input"
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: "display"
• 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 never
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 never
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?
• inputs.input?: string
Returns
SocketsValues
<object
>
Overrides
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/io/DisplayNode.ts:43
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 "input"
Parameters
• key: K
• inputs?: Record
<"input"
, 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 "input"
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 "display"
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 "input"
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 never
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: "display"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:492
removeInput()
Parameters
• key: "input"
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/nodes/Node.svelte.ts:472
removeOutput()
Parameters
• key: never
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