TL;DR
Ask an AI to draw a system architecture diagram today, and you get a frustrating choice: either a static, uneditable image with garbled text, or brittle code (like TikZ or SVG) that breaks the moment you want to nudge a box two inches to the left. EvoDesign bridges this gap by generating diagrams directly onto an interactive, UI-friendly canvas (like Excalidraw) using a team of specialized AI agents. Even better, every time the system catches and fixes a layout mistake—like overlapping arrows or cramped boxes—it distills that lesson into a permanent, evolving "design memory," getting noticeably smarter at graphic design over time.
What Problem Does This Paper Address?
Good diagrams reduce cognitive load by turning abstract relationships into clean spatial structures. Automating them, however, suffers from a painful representation gap.
On one side, pixel-based diffusion models make pretty pictures, but they hallucinate alien text and bake everything into flat pixels—good luck moving a single flowchart node without Photoshop. On the other side, code-based synthesis (LaTeX TikZ, Mermaid, SVG) gives you crisp, structured geometry, but tweaking the result requires debugging low-level coordinates rather than simply clicking and dragging.
We lack a shared workspace that is both machine-actionable (so AI can write and verify it programmatically) and human-manipulable (so you can tweak it with a mouse). Furthermore, good diagramming relies on unwritten rules of visual hierarchy and spacing that LLMs usually have to rediscover from scratch on every prompt.
Methods
EvoDesign treats an interactive canvas schema (specifically Excalidraw) as both its output format and its action space. The framework operates in three main loops:
- Multi-Agent Canvas Generation: Instead of one giant prompt, three specialized agents work in sequence—a Semantic Structure Agent (extracts nodes and relationships), a Visual Style Agent (chooses colors, shapes, and hierarchy), and a Spatial Layout Agent (calculates text wrapping, padding, and coordinates).
- Diagnostic Verification & Localized Refinement: Because the schema renders onto a real canvas, errors become measurable. A diagnostic environment runs objective programmatic checks (catching node overlaps, edge crossings, and text overflows) alongside a Vision-Language Model (VLM) critique for aesthetics (weighted 60% objective, 40% VLM). Rather than regenerating the whole diagram, a Localized Refiner Agent makes targeted surgical edits—like rerouting a single crossed arrow.
- Design Expertise Evolution: This is the secret sauce. When a local edit measurably improves a diagram's verification score, EvoDesign logs the "before, action, and after" trace. Through repeated testing across different prompts, successful fixes are promoted up a three-tier Hierarchical Expertise Memory:
- Sample Strategies (specific local fixes) $\rightarrow$ Domain Guidelines (validated across $\ge$5 traces and 3 domains) $\rightarrow$ General Principles (universal rules across $\ge$2 diagram types, like modular spacing). Low-performing rules are periodically pruned or demoted.
Datasets
Existing diagram benchmarks are full of photorealistic infographics and hand-drawn sketches that cannot be cleanly represented as vector objects. To fix this, the authors built CanvasBench:
- Scale & Scope: 6,273 validated samples spanning 21 diagram types (flowcharts, mind maps, swimlanes, ER diagrams, etc.) and 30 academic/professional domains from MMMU. Split into 5,853 samples for training/memory evolution and 420 balanced test samples.
- Construction: Web-scraped diagrams were filtered by a VLM and human reviewers (Cohen's $\kappa = 0.74$) to ensure object-level editability, then paired with VLM-reconstructed descriptions and user queries.
- Evaluation Protocol: Uses VLM judges (1–5 Likert scale) across three axes: Content Integrity, Visual Presentation, and Cognitive Utility (including VLM question-answering to test if a reader can actually extract facts from the diagram alone).
Key Insights and Ideas
- Rendering turns generation into a verifiable science: LLMs are notoriously bad at mental geometry. By rendering the JSON manifest onto a canvas mid-loop, spatial bugs like overlapping text stop being vague hallucinations and become deterministic math problems the agent can localize and patch.
- Auditable design intuition: Instead of fine-tuning model weights, EvoDesign builds an explicit, auditable playbook. Every high-level design principle in its memory maintains a paper trail all the way back to the exact diagram repairs that proved it worked.
- Role separation prevents layout collapse: Ablation studies show that stripping away the three-agent decomposition causes the steepest drop in Space Balance, proving that untangling what to draw from where to put it is critical.
Key Results
Tested across four backbone models (GPT-5.5, Gemini-3.1-Pro, DeepSeek-V4-Pro, and DeepSeek-V4-Flash), EvoDesign delivers the strongest overall balance across content, visual, and cognitive metrics:
- Quantitative: Under GPT-5.5, EvoDesign beats one-shot canvas prompting by +1.472 on Space Balance (3.536 vs. 2.064) and +1.106 on Cognitive Ease (3.912 vs. 2.806), while edging out strong code/agentic baselines like TikZ and SciSketch on Content Fidelity (4.118).
- Evolution Dynamics: Across five evolution rounds, validation quality steadily climbs by +0.63 points (on a 5-point scale) as the memory organically grows from zero to 843 curated strategies, guidelines, and principles.
- Human Study: Among 36 experienced diagram authors using the EvoDesign web app, users strongly agreed that the system required fewer manual edits ($4.4 \pm 0.6$ / 5), learned their personal preferences ($4.3 \pm 0.8$), and preserved source meaning during edits ($4.3 \pm 0.7$).
Limitations and Future Work
Not discussed in the paper. (Note: While the main text does not include a dedicated Limitations or Future Work section, the authors inherently scope CanvasBench and EvoDesign to structured, vector-compatible topologies—explicitly filtering out high-entropy visual artifacts like photorealistic textures, freehand sketches, and complex statistical data plots.)
Summary updated