@graphty/graphty-element / algorithms/Algorithm / AlgorithmStatics
Interface: AlgorithmStatics ​
Defined in: graphty-element/src/algorithms/Algorithm.ts:24
Interface for Algorithm class static members Exported for use in type annotations when referencing algorithm classes
Properties ​
namespace ​
namespace:
string
Defined in: graphty-element/src/algorithms/Algorithm.ts:26
optionsSchema ​
optionsSchema:
OptionsSchema
Defined in: graphty-element/src/algorithms/Algorithm.ts:27
suggestedStyles? ​
optionalsuggestedStyles:SuggestedStylesProvider
Defined in: graphty-element/src/algorithms/Algorithm.ts:28
type ​
type:
string
Defined in: graphty-element/src/algorithms/Algorithm.ts:25
zodOptionsSchema? ​
optionalzodOptionsSchema:OptionsSchema
Defined in: graphty-element/src/algorithms/Algorithm.ts:36
NEW: Zod-based options schema for unified validation and UI metadata
Methods ​
getOptionsSchema() ​
getOptionsSchema():
OptionsSchema
Defined in: graphty-element/src/algorithms/Algorithm.ts:30
Returns ​
OptionsSchema
Deprecated ​
Use getZodOptionsSchema() instead
getSuggestedStyles() ​
getSuggestedStyles():
SuggestedStylesConfig|null
Defined in: graphty-element/src/algorithms/Algorithm.ts:34
Returns ​
SuggestedStylesConfig | null
getZodOptionsSchema() ​
getZodOptionsSchema():
OptionsSchema
Defined in: graphty-element/src/algorithms/Algorithm.ts:38
Get the Zod-based options schema for this algorithm
Returns ​
hasOptions() ​
hasOptions():
boolean
Defined in: graphty-element/src/algorithms/Algorithm.ts:32
Returns ​
boolean
Deprecated ​
Use hasZodOptions() instead
hasSuggestedStyles() ​
hasSuggestedStyles():
boolean
Defined in: graphty-element/src/algorithms/Algorithm.ts:33
Returns ​
boolean
hasZodOptions() ​
hasZodOptions():
boolean
Defined in: graphty-element/src/algorithms/Algorithm.ts:40
Check if this algorithm has a Zod-based options schema
Returns ​
boolean