EU Parliament Monitor - API Documentation - v0.7.15
    Preparing search index...
    • Generate a color-coded mindmap section as an HTML string.

      Returns an empty string when config is null/undefined or has no branches, following the same convention as buildSwotSection and buildDashboardSection.

      Parameters

      • config: MindmapConfig | null | undefined

        Mindmap data (topic, branches, optional summary).

      • lang: string = 'en'

        BCP 47 language code for the section heading.

      • Optionalheading: string

        Optional heading override.

      Returns string

      HTML string for the mindmap section, or empty string.