Skip to content

@graphty/graphty-element / catalog / LabelLookDescriptor

Interface: LabelLookDescriptor ​

Defined in: graphty-element/src/catalog/label-looks.ts:23

A named label look.

Properties ​

id ​

readonly id: LabelLookId

Defined in: graphty-element/src/catalog/label-looks.ts:25

What a layer writes into LabelStyle.look.


plainName ​

readonly plainName: 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 ​

readonly style: 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.