@graphty/graphty-element / catalog / LegacyAlgorithmKey
Interface: LegacyAlgorithmKey ​
Defined in: graphty-element/src/catalog/algorithms.ts:97
One 1.10 registry key a 2.0 descriptor replaces, with the parameters that reproduce what that key used to do.
The parameters are what makes this a migration source of truth rather than a rename list: scc does not become components, it becomes components run with { strength: "strong" }, and a compatibility shim that forgets the second half silently computes the wrong answer.
Properties ​
key ​
readonlykey:string
Defined in: graphty-element/src/catalog/algorithms.ts:99
The static type the class carried in 1.10, without the "graphty:" namespace.
params? ​
readonlyoptionalparams?:Readonly<Record<string,unknown>>
Defined in: graphty-element/src/catalog/algorithms.ts:101
The 2.0 parameters that reproduce the 1.10 behaviour. Absent when only the key changed.