enquire-mcp API reference - v4.0.0-rc.7
    Preparing search index...

    Interface CommunityResult

    interface CommunityResult {
        communities: {
            id: number;
            members: string[];
            representative: string;
            size: number;
        }[];
        community_count: number;
        converged: boolean;
        iterations: number;
        membership: Map<string, number>;
        modularity: number;
    }
    Index
    communities: {
        id: number;
        members: string[];
        representative: string;
        size: number;
    }[]

    community_id → member note paths, sorted by in-community degree desc.

    Type Declaration

    • id: number
    • members: string[]

      Sorted by descending in-community degree (= "central" first).

    • representative: string

      Single most-central member (highest in-community degree).

    • size: number
    community_count: number

    Number of distinct communities found.

    converged: boolean

    v3.9.0-rc.15 — true if Louvain reached a stable partition (a pass made no moves); false if it hit the MAX_PASSES cap with moves still pending (the partition is valid but may be sub-optimal — callers can surface this).

    iterations: number

    Number of greedy passes run.

    membership: Map<string, number>

    Inverted index: note path → community id.

    modularity: number

    Modularity Q ∈ [-0.5, 1] of the final partition.