Skip to content

@graphty/graphty-element / catalog / KNOWN_ALGORITHMS

Variable: KNOWN_ALGORITHMS ​

const KNOWN_ALGORITHMS: readonly ["degree", "betweenness", "closeness", "pagerank", "eigenvector", "katz", "hits", "louvain", "leiden", "label-propagation", "components", "shortest-path", "all-pairs-distance", "all-paths", "max-flow", "min-cut", "k-core", "clustering-coefficient", "girvan-newman", "bfs", "dfs", "kruskal", "prim", "bipartite-matching", "link-prediction", "markov-clustering", "spectral-clustering", "hierarchical-clustering", "astar", "edge-betweenness"]

Defined in: graphty-element/src/catalog/types.ts:104

The built-in algorithms. The list is also available at runtime so a consumer can enumerate the built-in set without a catalogue instance.

One of these names is deprecated: all-paths is reserved but not implemented, and starting it fails with E_UNSUPPORTED. See DEPRECATED_ALGORITHMS.