Skip to content

Interface: CentralityRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / CentralityRequest

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

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

measure: string

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

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


tenantId: string

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

Tenant whose terms form the graph.


optional topK?: number | null

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

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