Skip to content

Interface: CentralityResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Communities / CentralityResponse

Interface: CentralityResponse

Defined in: src/types/communities.ts:230

Response of a centrality computation.

Properties

edgeCount

edgeCount: number

Defined in: src/types/communities.ts:232

Number of edges in the graph.


measure

measure: string

Defined in: src/types/communities.ts:234

The measure that was computed.


nodeCount

nodeCount: number

Defined in: src/types/communities.ts:236

Number of nodes in the graph.


scores

scores: NodeScore[]

Defined in: src/types/communities.ts:238

Scores, sorted by score descending then node id (truncated to topK).