Skip to content

Interface: CentralityRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Communities / CentralityRequest

Interface: CentralityRequest

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

Request to compute a centrality measure over the tenant’s term graph.

Properties

measure

measure: string

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

Which measure: degree | betweenness | closeness | eigenvector | pagerank.


tenantId

tenantId: string

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

Tenant whose terms form the graph.


topK?

optional topK: number | null

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

Optional cap on the number of top-ranked nodes returned (all if absent).