Type Parameters

  • T = any

Implements

  • IBaklavaEventEmitter
  • IBaklavaTapable

Constructors

Properties

component?: any

The component which will be displayed when the interface is not connected or port === false

events: {
    beforeSetValue: PreventableBaklavaEvent<T, NodeInterface<T>>;
    setConnectionCount: BaklavaEvent<number, NodeInterface<T>>;
    setValue: BaklavaEvent<T, NodeInterface<T>>;
    updated: BaklavaEvent<void, NodeInterface<T>>;
} = ...

Type declaration

hidden: boolean = false

Whether to hide the node interface in the UI

hooks: {
    load: SequentialHook<INodeInterfaceState<T>, NodeInterface<T>, INodeInterfaceState<T>>;
    save: SequentialHook<INodeInterfaceState<T>, NodeInterface<T>, INodeInterfaceState<T>>;
} = ...

Type declaration

id: string = ...
isInput?: boolean

Will be set automatically after the node was created

name: string

Display name of the interface

nodeId: string = ""

Id of the node this interface is part of

port: boolean = true

Whether to show the port (the thing connections connect to)

templateId?: string

If the interface is instantiated by a graph template, this property will be set to the id of the corresponding instance in the template

Accessors

Methods