EU Parliament Monitor - API Documentation - v0.7.19
    Preparing search index...

    Interface MindmapNode

    A single node in the intelligence mindmap. Nodes are arranged in depth layers: domain → sub-topic → actor → action → outcome.

    interface MindmapNode {
        id: string;
        label: string;
        category: MindmapNodeCategory;
        influence: number;
        color?: MindmapBranchColor;
        children: readonly MindmapNode[];
        metadata?: {
            committee?: string;
            politicalGroup?: string;
            documentRef?: string;
        };
    }
    Index

    Properties

    id: string

    Unique node identifier (used for connection references).

    label: string

    Human-readable label rendered inside the node.

    Node category determining visual styling.

    influence: number

    Normalized influence weight 0–1 (drives --node-influence CSS var).

    Optional semantic color key from the 8-color branch palette. When set to a valid MindmapBranchColor key (cyan, green, red, etc.), overrides the default category-based palette for this node. When omitted, the renderer falls back to the category palette.

    children: readonly MindmapNode[]

    Child nodes one layer deeper in the hierarchy.

    metadata?: { committee?: string; politicalGroup?: string; documentRef?: string }

    Optional EP-specific metadata for hover/detail rendering.