@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? ​
readonlyoptionalenabled?:boolean
Defined in: graphty-element/src/session/styles/rows.ts:69
Whether every part paints.
encode? ​
readonlyoptionalencode?: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? ​
readonlyoptionalname?:string
Defined in: graphty-element/src/session/styles/rows.ts:67
A new name for every part.
set? ​
readonlyoptionalset?: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? ​
readonlyoptionaltarget?: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