@graphty/algorithms / index / EigenvectorOptions
Interface: EigenvectorOptions ​
Defined in: indexed/eigenvector.ts:6
Options of the index-based eigenvector centrality, matching the legacy eigenvectorCentrality.
Properties ​
maxIterations? ​
readonlyoptionalmaxIterations?:number
Defined in: indexed/eigenvector.ts:8
Iteration cap; default 100.
mode? ​
readonlyoptionalmode?:"in"|"out"|"total"
Defined in: indexed/eigenvector.ts:17
On a directed snapshot, which arcs feed a node: "in" (default, as networkx) the nodes pointing at it, "out" the nodes it points at, "total" both. Ignored on an undirected snapshot.
normalized? ​
readonlyoptionalnormalized?:boolean
Defined in: indexed/eigenvector.ts:12
Rescale the unit-length vector to [0, 1] by min-max, as the legacy function does; default true.
startVector? ​
readonlyoptionalstartVector?:F64|F32
Defined in: indexed/eigenvector.ts:19
Starting value per node index; default 1 for every node.
tolerance? ​
readonlyoptionaltolerance?:number
Defined in: indexed/eigenvector.ts:10
Per-node tolerance: the run stops when the L1 change is below n * tolerance; default 1e-6.