@graphty/algorithms / index / hits
Function: hits() ​
hits(
graph,options):HITSResult
Defined in: algorithms/centrality/hits.ts:34
Calculate HITS hub and authority scores for all nodes in the graph. Uses iterative method with normalization.
Parameters ​
graph ​
The graph to compute HITS scores on
options ​
HITSOptions = {}
Configuration options for the computation
Returns ​
Object containing hub and authority scores for all nodes