import { generateStakeholderSwotSection } from './content-generators/stakeholder-swot-section.js';
const section = generateStakeholderSwotSection({
stakeholders: [
{
name: 'Government Coalition',
role: 'Tidö Agreement parties (M, KD, L + SD)',
swot: {
strengths: [{ text: 'Parliamentary majority', impact: 'high' }],
weaknesses: [{ text: 'Internal policy disagreements', impact: 'medium' }],
opportunities: [{ text: 'Economic recovery momentum', impact: 'high' }],
threats: [{ text: 'Rising opposition poll numbers', impact: 'medium' }],
},
},
{
name: 'Opposition',
role: 'S, V, C, MP',
swot: {
strengths: [{ text: 'Strong polling position', impact: 'high' }],
weaknesses: [{ text: 'Coalition formation uncertainty', impact: 'medium' }],
opportunities: [{ text: 'Government policy failures', impact: 'high' }],
threats: [{ text: 'Internal divisions on migration', impact: 'medium' }],
},
},
],
lang: 'en',
strategicContext: 'Ahead of the 2026 election, coalition dynamics are shifting.',
});
Generate a multi-stakeholder SWOT analysis section.
Returns a
TemplateSectionthat can be appended toArticleData.sections. Each stakeholder gets their own SWOT matrix, providing comprehensive multi-perspective intelligence analysis.