Skip to content

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

Function: Title()

Title(title): PropertyDecorator

Defined in: packages/chaingraph-types/src/decorator/port-config.decorator.ts:96

Title decorator to set a title for a port. This decorator updates the port metadata with a new "title" property.

Parameters

title

string

The title for the port.

Returns

PropertyDecorator

Licensed under BUSL-1.1