UNPKG

arela

Version:

AI-powered CTO with multi-agent orchestration, code summarization, visual testing (web + mobile) for blazing fast development.

20 lines 757 B
import type { Graph, Community } from './types.js'; export interface InfomapOptions { directed?: boolean; twoLevel?: boolean; numTrials?: number; seed?: number; silent?: boolean; } /** * Detect communities using Infomap algorithm * * Infomap uses information flow (random walk) to find communities. * This is conceptually superior to modularity optimization for codebases * because it models how information flows through dependencies. * * For now, we'll use a simplified implementation that mimics Infomap's * information-flow approach with the refined weighting model from research. */ export declare function detectCommunitiesInfomap(graph: Graph, options?: InfomapOptions): Community[]; //# sourceMappingURL=infomap.d.ts.map