algorithms

algorithms.eigenvectorCentrality

eigenvectorCentrality(options: EigenvectorOptions & AlgorithmWriteOptions): Promise<NodeScalarResult>

Compute eigenvector-centrality scores for all nodes (or a subset).

Dispatched to the background worker. Emits the standard "algorithm:start/progress/end/error/cancelled" lifecycle events. When writeTo is supplied the scores are written to node properties (recorded in history, undoable).

optionsEigenvectorOptions & AlgorithmWriteOptionsEigenvectorOptions merged with AlgorithmWriteOptions.

Returns: Promise<NodeScalarResult>