typed-sockets
Ce contenu n’est pas encore disponible dans votre langue.
Classes
TypedSocketsPlugin<Schemes>
Extends
Scope
<never
, [Root
<Schemes
>]>
Type Parameters
• Schemes extends BaseSchemes
Constructors
new TypedSocketsPlugin()
Returns
TypedSocketsPlugin
<Schemes
>
Overrides
Scope<never, [Root<Schemes>]>.constructor
Defined in
tmp/graph-editor/src/lib/graph-editor/plugins/typed-sockets.ts:86
Properties
__scope
parents
produces
Inherited from
Scope.__scope
Defined in
tmp/graph-editor/node_modules/rete/_types/scope.d.ts:49
lastConnectionRemove
Defined in
tmp/graph-editor/src/lib/graph-editor/plugins/typed-sockets.ts:84
name
Inherited from
Scope.name
Defined in
tmp/graph-editor/node_modules/rete/_types/scope.d.ts:46
parent?
Inherited from
Scope.parent
Defined in
tmp/graph-editor/node_modules/rete/_types/scope.d.ts:48
signal
Inherited from
Scope.signal
Defined in
tmp/graph-editor/node_modules/rete/_types/scope.d.ts:47
Methods
addPipe()
Parameters
• middleware: Pipe
<Root
<Schemes
>>
Returns
void
Inherited from
Scope.addPipe
Defined in
tmp/graph-editor/node_modules/rete/_types/scope.d.ts:54
emit()
Type Parameters
• C extends never
Parameters
• context: C
Returns
Promise
<undefined
>
Inherited from
Scope.emit
Defined in
tmp/graph-editor/node_modules/rete/_types/scope.d.ts:59
getInputSocket()
Parameters
• nodeId: string
• socketName: string
| number
Returns
Socket
<SocketType
, "scalar"
| "array"
>
Defined in
tmp/graph-editor/src/lib/graph-editor/plugins/typed-sockets.ts:153
getOutputSocket()
Parameters
• nodeId: string
• socketName: string
| number
Returns
Socket
<SocketType
, "scalar"
| "array"
>
Defined in
tmp/graph-editor/src/lib/graph-editor/plugins/typed-sockets.ts:157
hasParent()
Returns
boolean
Inherited from
Scope.hasParent
Defined in
tmp/graph-editor/node_modules/rete/_types/scope.d.ts:60
parentScope()
parentScope()
Type Parameters
• T extends Root
<Schemes
>
• P extends []
Returns
Scope
<T
, P
>
Inherited from
Scope.parentScope
Defined in
tmp/graph-editor/node_modules/rete/_types/scope.d.ts:61
parentScope(type)
Type Parameters
• T
Parameters
• type: Type
<T
>
Returns
T
Inherited from
Scope.parentScope
Defined in
tmp/graph-editor/node_modules/rete/_types/scope.d.ts:62
setParent()
Parameters
• scope: Scope
<Root
<Schemes
>, []>
Returns
void
Overrides
Scope.setParent
Defined in
tmp/graph-editor/src/lib/graph-editor/plugins/typed-sockets.ts:90
use()
Type Parameters
• S extends Scope
<any
, any
[]>
Parameters
• scope: NestedScope
<S
, [never
, Root
<Schemes
>]>
Returns
object
debug()
Type Parameters
• T extends []
Parameters
• _f
Returns
void
Inherited from
Scope.use
Defined in
tmp/graph-editor/node_modules/rete/_types/scope.d.ts:55
Type Aliases
BaseSocketType
Defined in
tmp/graph-editor/src/lib/graph-editor/plugins/typed-sockets.ts:19
DataType
Defined in
tmp/graph-editor/src/lib/graph-editor/plugins/typed-sockets.ts:38
ExportedSocketType
Defined in
tmp/graph-editor/src/lib/graph-editor/plugins/typed-sockets.ts:39
SocketType
Defined in
tmp/graph-editor/src/lib/graph-editor/plugins/typed-sockets.ts:21
TypeInfo
Type declaration
datastructure
type
Defined in
tmp/graph-editor/src/lib/graph-editor/plugins/typed-sockets.ts:46
XMLAttrType
Defined in
tmp/graph-editor/src/lib/graph-editor/plugins/typed-sockets.ts:6
XMLElementType
Defined in
tmp/graph-editor/src/lib/graph-editor/plugins/typed-sockets.ts:7
Functions
areTypesCompatible()
Parameters
• outType: TypeInfo
• inType: TypeInfo
Returns
boolean
Defined in
tmp/graph-editor/src/lib/graph-editor/plugins/typed-sockets.ts:50
isConnectionInvalid()
Parameters
• outputSocket: Socket
<SocketType
, "scalar"
| "array"
>
• inputSocket: Socket
<SocketType
, "scalar"
| "array"
>
Returns
boolean
Defined in
tmp/graph-editor/src/lib/graph-editor/plugins/typed-sockets.ts:79
socketTypeExport()
Parameters
• t: SocketType
Returns
Defined in
tmp/graph-editor/src/lib/graph-editor/plugins/typed-sockets.ts:40