@graphty/graphty-element / session / RowSpec
Interface: RowSpec ​
Defined in: graphty-element/src/session/styles/rows.ts:45
A row as styles.addRow takes it: a layer specification whose target may be "both".
Extends ​
Omit<LayerSpec,"target"|"set"|"encode"|"row">
Properties ​
enabled? ​
optionalenabled?:boolean
Defined in: graphty-element/src/catalog/types.ts:1139
Inherited from ​
encode? ​
readonlyoptionalencode?:Readonly<Record<string,Binding|undefined>>
Defined in: graphty-element/src/session/styles/rows.ts:51
Its bindings, routed the same way.
fileStyle? ​
optionalfileStyle?:FileStyleOrigin
Defined in: graphty-element/src/catalog/types.ts:1146
Where a layer made from a file's styles came from: the element's facts about it, set when a load makes the layer, saved and restored with it, and read with fileStyleOf(layer). Absent on every other layer. An update that does not name it keeps it.
Inherited from ​
kind? ​
optionalkind?:LayerKind
Defined in: graphty-element/src/catalog/types.ts:1134
Inherited from ​
name ​
name:
string
Defined in: graphty-element/src/catalog/types.ts:1132
Inherited from ​
selector ​
selector:
Selector
Defined in: graphty-element/src/catalog/types.ts:1135
Inherited from ​
set? ​
readonlyoptionalset?:Readonly<Record<string,ChannelValue|undefined>>
Defined in: graphty-element/src/session/styles/rows.ts:49
Its literal values, routed to the parts whose kind has each channel.
source? ​
optionalsource?:LayerSource
Defined in: graphty-element/src/catalog/types.ts:1138
Inherited from ​
target ​
readonlytarget:RowTarget
Defined in: graphty-element/src/session/styles/rows.ts:47
What it paints. "both" adds a node part and an edge part sharing the selector.
unmatched? ​
optionalunmatched?: readonlyLayerUnmatchedGroup[]
Defined in: graphty-element/src/catalog/types.ts:1157
What the last re-run of a run this layer reads could not match to its groups, as codes: see LayerUnmatchedGroup. Written by the element; absent when everything matched.
Inherited from ​
userData? ​
optionaluserData?:Record<string,unknown>
Defined in: graphty-element/src/catalog/types.ts:1140