# 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.**