Skip to content

@graphty/graphty-element / index / MarkSuggestion

Interface: MarkSuggestion ​

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

Painting the elements a run chose with fixed channel values, which is what styles.mark takes.

Properties ​

as ​

readonly as: "mark"

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

Which verb applies it.


channels ​

readonly channels: readonly Channel[]

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

The colour channel of each half the run chose: what a layer somebody wrote by hand is checked against. The width an edge mark also sets travels with its colour.


spec ​

readonly spec: MarkSpec

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

The mark itself, with the channel values it paints.