# Micro Instructions: Generate Mermaid Trigger Map Diagram **Purpose:** Create visually appealing, professional Mermaid flowchart diagrams for trigger maps --- ## Format Requirements ### 1. Mermaid Configuration ``` %%{init: {'theme':'base', 'themeVariables': { 'fontFamily':'Inter, system-ui, sans-serif', 'fontSize':'14px'}}}%% ``` - Always use Inter/system-ui font - Set fontSize to 14px - Use base theme ### 2. Flowchart Direction ``` flowchart LR ``` - Always use left-to-right (LR) direction - Business goals on left β†’ Platform center β†’ Target groups β†’ Driving forces on right ### 3. Node Content Formatting **Every node must:** - Start with `
` for top padding - End with `

` for bottom padding - Use `
` for line breaks (not multiple spaces) - Include emoji at the start of the title **Example node structure:** ``` NodeID["
🎯 TITLE

Line 1
Line 2
Line 3

"] ``` ### 4. Business Goals Nodes (Left Column) **Structure:** ``` BG1["
🌟 WDS VISION

Point 1
Point 2
Point 3

"] BG2["
πŸ“Š CORE OBJECTIVES

Point 1
Point 2
Point 3

"] ``` **Rules:** - Use BG0, BG1, BG2, etc. as node IDs - Include relevant emoji (🌟 for vision, πŸ“Š for objectives, πŸš€ for growth, etc.) - List 3-5 key points per goal - Keep titles in ALL CAPS ### 5. Platform Node (Center) **Structure:** ``` PLATFORM["
🎨 PLATFORM NAME

Tagline or category

Transformation statement
that spans multiple lines
describing the core change

"] ``` **Rules:** - Single node ID: PLATFORM - Include platform emoji - Show tagline/category - Include transformation/value statement - Break long text into multiple lines ### 6. Target Group Nodes **Structure:** ``` TG1["
🎯 PERSONA NAME
PRIORITY LEVEL

Trait 1
Trait 2
Trait 3

"] ``` **Rules:** - Use TG0, TG1, TG2, etc. as node IDs - Include persona-specific emoji - Show priority (PRIMARY TARGET, SECONDARY TARGET, etc.) - List 3-4 key profile traits - Keep persona name in ALL CAPS ### 7. Driving Forces Nodes **Structure:** ``` DF1["
🎯 PERSONA'S DRIVERS

WANTS
βœ… Positive driver 1
βœ… Positive driver 2
βœ… Positive driver 3

FEARS
❌ Negative driver 1
❌ Negative driver 2
❌ Negative driver 3

"] ``` **Rules:** - Use DF0, DF1, DF2, etc. matching TG IDs - Use same emoji as corresponding persona - Add "PERSONA'S DRIVERS" in ALL CAPS - Section headers: "WANTS" and "FEARS" (no emojis on headers) - βœ… emoji before each positive driver - ❌ emoji before each negative driver - Exactly 3 drivers per category (top 3 only) - Blank line between sections ### 8. Connections **Required connections:** ``` %% Business Goals to Platform BG0 --> PLATFORM BG1 --> PLATFORM BG2 --> PLATFORM %% Platform to Target Groups PLATFORM --> TG0 PLATFORM --> TG1 PLATFORM --> TG2 %% Target Groups to Driving Forces TG0 --> DF0 TG1 --> DF1 TG2 --> DF2 ``` **Rules:** - All business goals connect to platform - Platform connects to all target groups - Each target group connects to its driving forces - Use simple arrows (-->), no fancy styling ### 9. Styling Classes **Required classes:** ```css classDef businessGoal fill:#f3f4f6,color:#1f2937,stroke:#d1d5db,stroke-width:2px classDef platform fill:#e5e7eb,color:#111827,stroke:#9ca3af,stroke-width:3px classDef targetGroup fill:#f9fafb,color:#1f2937,stroke:#d1d5db,stroke-width:2px classDef drivingForces fill:#f3f4f6,color:#1f2937,stroke:#d1d5db,stroke-width:2px ``` **Application:** ``` class BG0,BG1,BG2 businessGoal class PLATFORM platform class TG0,TG1,TG2 targetGroup class DF0,DF1,DF2 drivingForces ``` **Rules:** - Always use these exact colors (light grays with dark text) - Business goals: lightest gray (#f3f4f6) - Platform: medium gray (#e5e7eb) with thicker border (3px) - Target groups: near white (#f9fafb) - Driving forces: light gray (#f3f4f6) - Text color: dark gray (#1f2937 or #111827) - Borders: light gray (#d1d5db or #9ca3af) --- ## Complete Example Template ```mermaid %%{init: {'theme':'base', 'themeVariables': { 'fontFamily':'Inter, system-ui, sans-serif', 'fontSize':'14px'}}}%% flowchart LR %% Business Goals BG0["
🌟 VISION

Vision statement line 1
Vision statement line 2
Vision statement line 3

"] BG1["
πŸ“Š OBJECTIVES

Objective 1
Objective 2
Objective 3

"] %% Platform PLATFORM["
🎨 PRODUCT NAME

Product category or tagline

Transformation statement
describing the change

"] %% Target Groups TG0["
🎯 PERSONA ONE
PRIMARY TARGET

Profile trait 1
Profile trait 2
Profile trait 3

"] TG1["
πŸ’Ό PERSONA TWO
SECONDARY TARGET

Profile trait 1
Profile trait 2
Profile trait 3

"] %% Driving Forces DF0["
🎯 PERSONA ONE'S DRIVERS

WANTS
βœ… Positive driver 1
βœ… Positive driver 2
βœ… Positive driver 3

FEARS
❌ Negative driver 1
❌ Negative driver 2
❌ Negative driver 3

"] DF1["
πŸ’Ό PERSONA TWO'S DRIVERS

WANTS
βœ… Positive driver 1
βœ… Positive driver 2
βœ… Positive driver 3

FEARS
❌ Negative driver 1
❌ Negative driver 2
❌ Negative driver 3

"] %% Connections BG0 --> PLATFORM BG1 --> PLATFORM PLATFORM --> TG0 PLATFORM --> TG1 TG0 --> DF0 TG1 --> DF1 %% Styling classDef businessGoal fill:#f3f4f6,color:#1f2937,stroke:#d1d5db,stroke-width:2px classDef platform fill:#e5e7eb,color:#111827,stroke:#9ca3af,stroke-width:3px classDef targetGroup fill:#f9fafb,color:#1f2937,stroke:#d1d5db,stroke-width:2px classDef drivingForces fill:#f3f4f6,color:#1f2937,stroke:#d1d5db,stroke-width:2px class BG0,BG1 businessGoal class PLATFORM platform class TG0,TG1 targetGroup class DF0,DF1 drivingForces ``` --- ## Emoji Selection Guide ### Business Goals - 🌟 Vision - πŸ“Š Objectives/Metrics - πŸš€ Growth/Expansion - πŸ’° Revenue/Business - 🀝 Partnerships/Community - 🎯 Goals/Targets ### Personas - 🎯 Strategic/Primary personas - πŸ’Ό Business/Leadership personas - πŸ’» Technical/Developer personas - πŸ‘₯ Team/Group personas - 🎨 Creative/Designer personas - πŸ“± User/Customer personas ### Platform - 🎨 Design/Creative products - πŸ’» Software/Tech products - πŸ“± Mobile/App products - πŸ› οΈ Tools/Utilities - πŸ“Š Analytics/Data products - πŸ€– AI/Automation products --- ## Quality Checklist Before finalizing diagram, verify: - [ ] Mermaid config includes custom font and fontSize - [ ] All nodes start with `
` and end with `

` - [ ] All titles are in ALL CAPS - [ ] Each persona has matching emoji in both TG and DF nodes - [ ] Exactly 3 positive drivers per persona (with βœ…) - [ ] Exactly 3 negative drivers per persona (with ❌) - [ ] "WANTS" and "FEARS" headers have no emojis - [ ] All connections are present (goalsβ†’platformβ†’groupsβ†’forces) - [ ] Light gray styling with dark text applied - [ ] Platform has thicker border (3px) - [ ] No syntax errors or missing brackets --- ## Common Mistakes to Avoid ❌ **Don't:** - Use multiple spaces for alignment (use `
` only) - Mix HTML tags (bold, italic) - keep plain text - Forget padding (`
`) at top and bottom - Use colors other than light grays - Add emojis to "WANTS" and "FEARS" headers - Include more than 3 drivers per category - Use lowercase in titles βœ… **Do:** - Use `
` for all line breaks - Keep consistent spacing (blank lines between sections) - Match emojis between personas and their drivers - Use exactly 3 drivers per category - Apply consistent styling to all nodes - Test diagram renders correctly --- **This format creates professional, scannable trigger maps that clearly communicate strategic insights at a glance.**