Interface: CentralityRequest
@kortexya/reasoninglayer / CentralityRequest
Interface: CentralityRequest
Section titled “Interface: CentralityRequest”Defined in: src/types/communities.ts:385
Request to compute a centrality measure over the tenant’s term graph.
Properties
Section titled “Properties”measure
Section titled “measure”measure:
string
Defined in: src/types/communities.ts:387
Which measure: degree | betweenness | closeness | eigenvector | pagerank.
tenantId
Section titled “tenantId”tenantId:
string
Defined in: src/types/communities.ts:389
Tenant whose terms form the graph.
optionaltopK?:number|null
Defined in: src/types/communities.ts:391
Optional cap on the number of top-ranked nodes returned (all if absent).