Skip to content
This repository was archived by the owner on Jan 8, 2026. It is now read-only.

Latest commit

 

History

History
36 lines (26 loc) · 1.9 KB

File metadata and controls

36 lines (26 loc) · 1.9 KB

Home > @datashaper/workflow > Node_2

Node_2 interface

A graph processing node

Signature:

export interface Node<T, Config = unknown> 

Properties

Property Modifiers Type Description
bindings readonly NodeBinding<T>[] Gets all input bindings
bindings$ readonly Observable<NodeBinding<T>[]> An observable of the input bindings
config Maybe<Config> The node's mutable configuration
config$ readonly Observable<Maybe<Config>> A configuration observable
id readonly NodeId A unique identifier for this node
inputs readonly SocketName[] Named input sockets
stats readonly NodeStats The diagnostic statistics for this node

Methods

Method Description
bind(binding) Binds an input socket to an upstream node
binding(input) Retrieves an existing input binding by id
output(name) Gets a current output value
output$(name) Gets the output value stream
unbind(name) Clear an input socket