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
The node instance
Returns
boolean
true if the port should be visible, false otherwise