Skip to content

port

Classes

Output<S>

Extends

Type Parameters

S extends Socket = Socket

Implements

  • Output<S>

Constructors

new Output()
new Output<S>(params): Output<S>
Parameters

params: PortParams<S>

Returns

Output<S>

Overrides

Port.constructor

Defined in

tmp/graph-editor/src/lib/graph-editor/socket/port.svelte.ts:31

Properties

description
description: undefined | string;
Inherited from

Port.description

Defined in

tmp/graph-editor/src/lib/graph-editor/socket/port.svelte.ts:17

id
readonly id: string;

Port id, unique string generated by getUID function

Implementation of

ClassicPreset.Output.id

Inherited from

Port.id

Defined in

tmp/graph-editor/src/lib/graph-editor/socket/port.svelte.ts:14

index
index: undefined | number;

Port index, used for sorting ports. Default is 0

Implementation of

ClassicPreset.Output.index

Inherited from

Port.index

Defined in

tmp/graph-editor/src/lib/graph-editor/socket/port.svelte.ts:18

label
label: undefined | string;
Implementation of

ClassicPreset.Output.label

Inherited from

Port.label

Defined in

tmp/graph-editor/src/lib/graph-editor/socket/port.svelte.ts:16

multipleConnections
readonly multipleConnections: boolean;
Implementation of

ClassicPreset.Output.multipleConnections

Inherited from

Port.multipleConnections

Defined in

tmp/graph-editor/src/lib/graph-editor/socket/port.svelte.ts:15

socket
readonly socket: S;
Implementation of

ClassicPreset.Output.socket

Inherited from

Port.socket

Defined in

tmp/graph-editor/src/lib/graph-editor/socket/port.svelte.ts:13


Port<S>

Extended by

Type Parameters

S extends Socket = Socket

Implements

  • Port<S>

Constructors

new Port()
new Port<S>(params): Port<S>
Parameters

params: PortParams<S>

Returns

Port<S>

Defined in

tmp/graph-editor/src/lib/graph-editor/socket/port.svelte.ts:19

Properties

description
description: undefined | string;
Defined in

tmp/graph-editor/src/lib/graph-editor/socket/port.svelte.ts:17

id
readonly id: string;

Port id, unique string generated by getUID function

Implementation of

ClassicPreset.Port.id

Defined in

tmp/graph-editor/src/lib/graph-editor/socket/port.svelte.ts:14

index
index: undefined | number;

Port index, used for sorting ports. Default is 0

Implementation of

ClassicPreset.Port.index

Defined in

tmp/graph-editor/src/lib/graph-editor/socket/port.svelte.ts:18

label
label: undefined | string;
Implementation of

ClassicPreset.Port.label

Defined in

tmp/graph-editor/src/lib/graph-editor/socket/port.svelte.ts:16

multipleConnections
readonly multipleConnections: boolean;
Implementation of

ClassicPreset.Port.multipleConnections

Defined in

tmp/graph-editor/src/lib/graph-editor/socket/port.svelte.ts:15

socket
readonly socket: S;
Implementation of

ClassicPreset.Port.socket

Defined in

tmp/graph-editor/src/lib/graph-editor/socket/port.svelte.ts:13

Type Aliases

PortParams<S>

type PortParams<S>: object;

Type Parameters

S extends Socket = Socket

Type declaration

description?
optional description: string;
index?
optional index: number;
label?
optional label: string;
multipleConnections?
optional multipleConnections: boolean;
socket
socket: S;

Defined in

tmp/graph-editor/src/lib/graph-editor/socket/port.svelte.ts:5