Skip to content

@graphty/graphty-element / index / AlgorithmOnLoad

Type Alias: AlgorithmOnLoad ​

AlgorithmOnLoad = ZodUnion<readonly [ZodString, ZodObject<{ algorithm: ZodString; as: ZodOptional<ZodString>; params: ZodOptional<ZodRecord<ZodString, ZodUnknown>>; seed: ZodOptional<ZodNumber>; style: ZodOptional<ZodUnion<readonly [ZodBoolean, ZodObject<{ size: ZodOptional<ZodUnion<...>>; }, $strict>]>>; }, $strict>]>

Defined in: graphty-element/src/config/DataConfig.ts:119