types
Type Aliases
ExpectArea2DExtra<Schemes>
Type Parameters
• Schemes extends BaseSchemes
Defined in
tmp/graph-editor/src/lib/graph-editor/render/sockets-position.ts/types.ts:29
OnChange()
Parameters
• data: Position
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/render/sockets-position.ts/types.ts:5
RenderMeta
Type declaration
filled?
Defined in
tmp/graph-editor/src/lib/graph-editor/render/sockets-position.ts/types.ts:24
RenderSignal<Type, Data>
Type Parameters
• Type extends string
• Data
Defined in
tmp/graph-editor/src/lib/graph-editor/render/sockets-position.ts/types.ts:25
SocketPositionWatcher<ChildScope>
Interface for socket position watcher.
Type Parameters
• ChildScope
Type declaration
attach()
Attach the watcher to the area’s child scope.
Parameters
• area: ChildScope
Returns
void
listen()
Listen to the socket position changes.
Parameters
• nodeId: string
Node ID
• side: Side
Side of the socket, ‘input’ or ‘output’
• key: string
Socket key
• onChange: OnChange
Callback that is called when the socket position changes
Returns
Function
Function that removes the listener
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/render/sockets-position.ts/types.ts:10