Skip to content

@graphty/graphty-element / catalog / channelDescriptor

Function: channelDescriptor() ​

channelDescriptor(channel): ChannelDescriptor | undefined

Defined in: graphty-element/src/session/styles/channels.ts:903

Look one channel up.

Parameters ​

channel ​

string

The channel name.

Returns ​

ChannelDescriptor | undefined

Its descriptor, or undefined when the element has no channel by that name.