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
nodeRegistry?
NodeRegistry | null
Returns
ClassDecorator