Skip to content

@graphty/graphty-element / config / OptionMeta

Interface: OptionMeta

Defined in: src/config/OptionsSchema.ts:20

UI metadata for an option (not validation - that's Zod's job)

Properties

advanced?

optional advanced: boolean

Defined in: src/config/OptionsSchema.ts:26

Hide in basic UI mode (show only in advanced settings)


description

description: string

Defined in: src/config/OptionsSchema.ts:24

Detailed description/help text


group?

optional group: string

Defined in: src/config/OptionsSchema.ts:28

Group related options together in UI


label

label: string

Defined in: src/config/OptionsSchema.ts:22

Human-readable label for UI display


step?

optional step: number

Defined in: src/config/OptionsSchema.ts:30

Suggested step increment for numeric sliders