Skip to content

@graphty/graphty-element / session / StyleExplanation

Interface: StyleExplanation ​

Defined in: graphty-element/src/session/styles/explain.ts:80

Everything there is to say about why one element looks the way it does.

Properties ​

channels ​

readonly channels: readonly ChannelExplanation[]

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

One entry per channel something painted, in the order the channel table lists them.

The table's order rather than the paint order, because a properties panel draws one row per channel and its rows must not move when a layer is added.


contributions ​

readonly contributions: readonly StyleContribution[]

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

Every layer that painted any of it, BOTTOM FIRST, which is the order they painted in.


merged ​

readonly merged: ResolvedStyle

Defined in: graphty-element/src/session/styles/explain.ts:82

Everything the element is painted, with the topmost writer of each channel standing.