Skip to content

@graphty/graphty-element / catalog / BUILT_IN_ALGORITHMS

Variable: BUILT_IN_ALGORITHMS ​

const BUILT_IN_ALGORITHMS: readonly BuiltInAlgorithmDescriptor[]

Defined in: graphty-element/src/catalog/algorithms.ts:1113

Every algorithm this package registers, as a plain-JSON descriptor.

Twenty-nine descriptors for thirty-one registered algorithms: the two single-source shortest-path engines are one key with a method parameter, and the two component algorithms are one key with a strength parameter. Each descriptor's legacyKeys names the 1.10 keys it replaces and the parameters that reproduce them.

scopeInput is read from the classes rather than written here, so it cannot disagree with what a run computes over: a folded key computes over its scope only when every class behind it does.