graph TD
A[User Input: Niche/Topic] --> B{Niche Researcher}
B --> C[Research Niche Topic]
C --> D[Brainstorm Related Keywords]
D --> E[Find Top-Selling Card Designs]
E --> F[Compile Findings]
F --> G{Slogan Generator}
F --> H{Image Creator}
G --> I[Generate Slogans/Puns]
I --> J[Rank Slogans/Puns]
J --> K[Select Top 5-8 Slogans/Puns]
K --> L{Card Assembler}
H --> M[Generate Images]
M --> N[Analyze Images for Relevance]
N --> O[Rank Images]
O --> P[Select Top 3-5 Images]
P --> L
L --> Q[Load Template]
Q --> R[Insert Text and Images]
R --> S[Adjust Layout]
S --> T[Save Assembled Designs]
T --> U{Output Renderer}
U --> V[Render to JPEG]
V --> W[Resize Images]
W --> X[Save Final Images]
X --> Y{Feedback Manager}
Y --> Z[Monitor Subagents]
Z --> AA[Log Errors]
AA --> AB[Provide Status Updates]
AB --> AC[Collect User Feedback]
AC --> AD[Analyze Feedback and Logs]
AD --> AE[Trigger Improvements]
AE --> AF[Record Iterations]