Skip to content

@graphty/graphty-element / session / ChannelExplanation

Interface: ChannelExplanation ​

Defined in: graphty-element/src/session/styles/explain.ts:66

One channel of the merged style: who won it, and whether a person can change it here.

Properties ​

channel ​

readonly channel: Channel

Defined in: graphty-element/src/session/styles/explain.ts:68

The channel.


editable ​

readonly editable: boolean

Defined in: graphty-element/src/session/styles/explain.ts:74

Whether a consumer may offer a control that writes this channel on that layer.


layerId ​

readonly layerId: string

Defined in: graphty-element/src/session/styles/explain.ts:70

The topmost layer that painted it, which is the one a reader is looking at.


mode ​

readonly mode: "static" | "encoded"

Defined in: graphty-element/src/session/styles/explain.ts:72

Whether that layer wrote a fixed value or worked one out from the data.


reason? ​

readonly optional reason?: string

Defined in: graphty-element/src/session/styles/explain.ts:76

Why not, when it is not. A sentence, written for the person who would have edited it.