@graphty/graphty-element / catalog / channelsFor
Function: channelsFor() ​
channelsFor(
target): readonlyChannelDescriptor[]
Defined in: graphty-element/src/session/styles/channels.ts:913
The channels that paint one kind of element, which is what a channel picker offers once the layer has said whether it paints nodes or edges.
Parameters ​
target ​
"node" | "edge"
Nodes or edges.
Returns ​
readonly ChannelDescriptor[]
Every channel for that target, in table order.