Skip to content

ConnectionTrackerComponent

Classes

ConnectionTrackerComponent

Extends

Constructors

new ConnectionTrackerComponent()
new ConnectionTrackerComponent(params): ConnectionTrackerComponent
Parameters

params: ConnectionTrackerParams

Returns

ConnectionTrackerComponent

Overrides

NodeComponent.constructor

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/components/ConnectionTrackerComponent.ts:10

Properties

cleanup()?
optional cleanup: () => void;
Returns

void

Inherited from

NodeComponent.cleanup

Defined in

tmp/graph-editor/src/lib/graph-editor/components/BaseComponent.ts:13

Type Aliases

ConnectionTrackerCallback()

type ConnectionTrackerCallback: (conn, type) => unknown;

Parameters

conn: Connection

type: "creation" | "removal"

Returns

unknown

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/components/ConnectionTrackerComponent.ts:4


ConnectionTrackerParams

type ConnectionTrackerParams: NodeComponentParams & object;

Type declaration

onInConnectionChange?
optional onInConnectionChange: ConnectionTrackerCallback;
onOutConnectionChange?
optional onOutConnectionChange: ConnectionTrackerCallback;

Defined in

tmp/graph-editor/src/lib/graph-editor/nodes/components/ConnectionTrackerComponent.ts:5