Skip to content

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

Interface: PortVisibilityConfig ​

Defined in: packages/chaingraph-types/src/decorator/port-visibility.decorator.ts:20

Interface for configuration of port visibility

Properties ​

showIf() ​

showIf: (instance) => boolean

Defined in: packages/chaingraph-types/src/decorator/port-visibility.decorator.ts:26

A function that determines whether the port should be visible

Parameters ​

instance ​

INode

The node instance

Returns ​

boolean

true if the port should be visible, false otherwise

Licensed under BUSL-1.1