Skip to content

@graphty/graphty-element / index / EncodingSuggestion

Interface: EncodingSuggestion ​

Defined in: graphty-element/src/session/styles/derive.ts:54

Binding one of a run's measurements to a channel, which is what styles.encode takes.

Properties ​

as ​

readonly as: "encoding"

Defined in: graphty-element/src/session/styles/derive.ts:56

Which verb applies it.


channels ​

readonly channels: readonly Channel[]

Defined in: graphty-element/src/session/styles/derive.ts:58

The channel it would paint, which is the one thing another layer can be checked against.


spec ​

readonly spec: EncodingSpec

Defined in: graphty-element/src/session/styles/derive.ts:60

The encoding itself.