Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-types / Node

Function: Node()

Node(config, nodeRegistry?): ClassDecorator

Defined in: packages/chaingraph-types/src/decorator/node.decorator.ts:21

Node decorator that stores node metadata. It uses the already existing NodeMetadata type.

Parameters

config

NodeMetadata

nodeRegistry?

NodeRegistry | null

Returns

ClassDecorator

Licensed under BUSL-1.1