@graphty/graphty-element / session / StyleAdjustmentCode
Type Alias: StyleAdjustmentCode ​
StyleAdjustmentCode =
"style.out-of-range"|"style.alpha-not-drawn"
Defined in: graphty-element/src/session/styles/encoding.ts:235
What the element did to a value a layer worked out, because the channel cannot draw it as it is. Nothing is refused for either; the value is drawn as described.
style.out-of-range-- a number outside what the channel draws (a negative node size, an opacity above 1), drawn at the nearest end the channel does draw.style.alpha-not-drawn-- a color with transparency on a channel that draws it opaque (a node's color; a node's transparency is itsnode.opacity).
New codes may be added in a minor release: word an unknown one generically.