Skip to content

@graphty/graphty-element / session / RowWrite

Interface: RowWrite ​

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

One write to every part of a row. set and encode merge one key deep into each part's own; undefined clears a key. name and enabled (the row's eye) reach every part.

Properties ​

enabled? ​

readonly optional enabled?: boolean

Defined in: graphty-element/src/session/styles/rows.ts:69

Whether every part paints.


encode? ​

readonly optional encode?: Readonly<Record<string, Binding | undefined>>

Defined in: graphty-element/src/session/styles/rows.ts:73

Bindings, each to the parts whose kind has the channel.


name? ​

readonly optional name?: string

Defined in: graphty-element/src/session/styles/rows.ts:67

A new name for every part.


set? ​

readonly optional set?: Readonly<Record<string, ChannelValue | undefined>>

Defined in: graphty-element/src/session/styles/rows.ts:71

Literal values, each to the parts whose kind has the channel.


target? ​

readonly optional target?: RowTarget

Defined in: graphty-element/src/session/styles/rows.ts:65

What the row paints from now on: a missing part is added (sharing the row's name, rule and eye, writing nothing until its first value) and a part no longer wanted is dropped, in the same step as the rest of the write. The row keeps its id and its place.

Since ​

3.26.0