@graphty/graphty-element / catalog / OptionDescriptor
Interface: OptionDescriptor ​
Defined in: graphty-element/src/catalog/types.ts:446
One configurable option, as plain JSON a form can render with no knowledge of Zod.
Extends ​
Properties ​
advanced? ​
optionaladvanced?:boolean
Defined in: graphty-element/src/catalog/types.ts:458
attributeType? ​
optionalattributeType?:"string"|"number"|"boolean"|"integer"|"time"|"category"|"mixed"
Defined in: graphty-element/src/catalog/types.ts:456
default? ​
optionaldefault?:unknown
Defined in: graphty-element/src/catalog/types.ts:451
description? ​
optionaldescription?:string
Defined in: graphty-element/src/catalog/types.ts:460
group? ​
optionalgroup?:string
Defined in: graphty-element/src/catalog/types.ts:457
internal? ​
optionalinternal?:boolean
Defined in: graphty-element/src/catalog/types.ts:459
max? ​
optionalmax?:string|number|OptionBound
Defined in: graphty-element/src/catalog/types.ts:453
min? ​
optionalmin?:string|number|OptionBound
Defined in: graphty-element/src/catalog/types.ts:452
name ​
name:
string
Defined in: graphty-element/src/catalog/types.ts:447
on? ​
optionalon?:"node"|"edge"
Defined in: graphty-element/src/catalog/types.ts:442
Nodes (the default) or edges. Meaningful only for type "attribute" or "partition".
Inherited from ​
plainName ​
plainName:
string
Defined in: graphty-element/src/catalog/types.ts:448
step? ​
optionalstep?:number
Defined in: graphty-element/src/catalog/types.ts:454
technicalName? ​
optionaltechnicalName?:string
Defined in: graphty-element/src/catalog/types.ts:449
type ​
type:
"string"|"number"|"boolean"|"unknown"|"enum"|"integer"|"node-set"|"seed"|"node-id"|"attribute"|"partition"|"ordering"
Defined in: graphty-element/src/catalog/types.ts:450
unsupportedReason? ​
optionalunsupportedReason?:string
Defined in: graphty-element/src/catalog/types.ts:465
Why type is "unknown", in a sentence naming the construct that could not be classified. Present only when type is "unknown".
values? ​
optionalvalues?: readonlyOptionChoice[]
Defined in: graphty-element/src/catalog/types.ts:455