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

    Module Generators/SwotContent

    Pure functions for building SWOT analysis HTML sections. Generates accessible, CSS-only SWOT matrix visualizations that can be embedded in any article type. Designed for agentic workflows to extend articles with strategic analysis using data from MCP servers or other sources.

    The SWOT framework covers:

    • Strengths: Internal positive factors
    • Weaknesses: Internal negative factors
    • Opportunities: External positive factors
    • Threats: External negative factors

    Functions

    buildSwotSection