EvoDesign: Agentic Editable Diagram Creation via Design Expertise Evolution

Tianfu Wang, Leilei Ding, Ziyang Tao, Yi Zhan, Zhiyuan Ma, Wei Wu, Yuxuan Lei, Junyang Wang, Yizhao Xu, Yin Wu, Zhengyu Hu, Hongyuan Zhu, Nicholas Jing Yuan, Yanyong Zhang, Hui XiongNeurIPS 2026

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.

Figure 1: Comparison of diagram generation paradigms. Unlike pixel-based generation (limited control) or code-based synthesis (high barrier), Canvas-based creation unifies AI actionability with human-interpretable UI editing, bridging the representation gap.

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:

  1. 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).
  2. 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.
  3. 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:
  4. 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.
Figure 2: Overview of the EvoDesign framework. (a) Agentic Canvas Generation: EvoDesign transforms input content and user queries into a diagram manifest through structure, style, and layout agents, with retrieved expertise and canvas API knowledge grounding the generation process. (b) Verification and Refinement Environment: the manifest is rendered into an editable diagram, checked by a diagnostic verifier, and locally repaired through issue localization and manifest updates, while optional UI-friendly operations and refinement tracks record issues, edits, outcomes, and feedback. (c) Experience Exploration: multiple query variants for the same content are sampled and repeatedly passed through agentic generation, verification, and refinement to collect comparable experience trajectories. (d) Design Knowledge Promotion: refinement tracks are distilled and analyzed into sample strategies, domain guidelines, and general principles, which are maintained with tag sets and stored in the design expertise memory.

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).
CanvasBench construction pipeline and overview

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

Abstract

High-fidelity diagram creation requires coordinated visual-spatial decisions over semantic topology, visual styling, and geometric layout. Existing methods face a representation gap: pixel-based generation offers limited object-level control, while code-based synthesis provides executable structure at the cost of intuitive manipulation. We introduce EvoDesign, an agentic framework for editable diagram creation through an intermediate canvas schema that is both machine-actionable and directly manipulable by users. EvoDesign first constructs a diagram manifest through coordinated structure, style, and layout agents, and then renders the manifest in a diagnostic verification environment. This environment produces objective defect signals and VLM-based critique, enabling localized refinement of the current diagram while also providing evidence for long-term design expertise evolution. The evolution mechanism distills refinement traces into a three-tier design expertise memory, where candidate strategies are linked to the verification evidence that supports them and are promoted into broader guidelines and principles only through repeated cross-context support. We further define CanvasBench, a canvas-recoverable benchmark and evaluation protocol with content, visual, and cognitive dimensions. The current manuscript focuses on the framework, benchmark design, and reporting protocol; empirical results are added only when the corresponding artifacts, judge traces, and analysis scripts are available for verification. Our code is available at \href{https://github.com/GeminiLight/EvoDesign}{https://github.com/GeminiLight/EvoDesign}.
BibTeX
@inproceedings{wang2026evodesign,
  author = {Tianfu Wang and Leilei Ding and Ziyang Tao and Yi Zhan and Zhiyuan Ma and Wei Wu and Yuxuan Lei and Junyang Wang and Yizhao Xu and Yin WU and Zhengyu Hu and Hongyuan Zhu and Nicholas Jing Yuan and Yanyong Zhang and Hui Xiong},
  title = {{EvoDesign: Agentic Editable Diagram Creation via Design Expertise Evolution}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=DYFU7owVJ3},
}
Figure