@graphty/graphty-element / catalog / LabelLookDescriptor
Interface: LabelLookDescriptor ​
Defined in: graphty-element/src/catalog/label-looks.ts:23
A named label look.
Properties ​
id ​
readonlyid:LabelLookId
Defined in: graphty-element/src/catalog/label-looks.ts:25
What a layer writes into LabelStyle.look.
plainName ​
readonlyplainName:string
Defined in: graphty-element/src/catalog/label-looks.ts:27
The default name to show for it. An application may replace it by id.
style ​
readonlystyle:Readonly<Omit<LabelStyle,"look"|"enabled">>
Defined in: graphty-element/src/catalog/label-looks.ts:29
The fields the look sets. A field it leaves out is the element's own default.