@graphty/graphty-element / session / StyleContribution
Interface: StyleContribution ​
Defined in: graphty-element/src/session/styles/explain.ts:54
One layer's share of what an element is painted.
Properties ​
layerId ​
readonlylayerId:string
Defined in: graphty-element/src/session/styles/explain.ts:56
The layer.
name ​
readonlyname:string
Defined in: graphty-element/src/session/styles/explain.ts:58
What it is called, so a list reads without a second lookup.
properties ​
readonlyproperties: readonlyChannel[]
Defined in: graphty-element/src/session/styles/explain.ts:60
The channels it painted on this element, in the order it painted them.
values ​
readonlyvalues:Readonly<Record<string,unknown>>
Defined in: graphty-element/src/session/styles/explain.ts:62
What it painted each of them. A later layer may have painted over any of these.