Interface: CentralityResponse
@kortexya/reasoninglayer / CentralityResponse
Interface: CentralityResponse
Section titled “Interface: CentralityResponse”Defined in: src/types/communities.ts:395
Response of a centrality computation.
Properties
Section titled “Properties”edgeCount
Section titled “edgeCount”edgeCount:
number
Defined in: src/types/communities.ts:397
Number of edges in the graph.
graphObservation
Section titled “graphObservation”graphObservation:
ReferenceGraphObservation
Defined in: src/types/communities.ts:405
The explicit loop-free reference projection this metric used.
measure
Section titled “measure”measure:
string
Defined in: src/types/communities.ts:399
The measure that was computed.
nodeCount
Section titled “nodeCount”nodeCount:
number
Defined in: src/types/communities.ts:401
Number of nodes in the graph.
scores
Section titled “scores”scores:
NodeScore[]
Defined in: src/types/communities.ts:403
Scores, sorted by score descending then node id (truncated to topK).