Interface GraphCommunity

interface GraphCommunity {
    id: string;
    level: number;
    parentCommunityId: null | string;
    childCommunityIds: string[];
    entityIds: string[];
    relationshipIds: string[];
    summary: string;
    findings: string[];
    importance: number;
    title: string;
    createdAt: string;
}

Properties

id: string
level: number

Level in the hierarchy (0 = root, higher = more granular)

parentCommunityId: null | string

Parent community ID (null for root)

childCommunityIds: string[]

Child community IDs

entityIds: string[]

Entity IDs belonging to this community

relationshipIds: string[]

Relationship IDs internal to this community

summary: string

LLM-generated summary of this community

findings: string[]

Key findings extracted from the community

importance: number

Aggregate importance score

title: string

Title/label for the community

createdAt: string