EvoDesign: Agentic Editable Diagram Creation via Design Expertise Evolution
Organizations: Hong Kong University of Science and Technology (Guangzhou) · University of Science and Technology of China · Peking University · Hong Kong University of Science and Technology
Abstract
High-fidelity diagram creation requires the complex orchestration of semantic topology, visual styling, and spatial layout, posing a significant challenge for automated systems. Existing methods also suffer from a representation gap: pixel-based models often lack precise control, while code-based synthesis limits intuitive flexibility. To bridge this gap, we introduce EvoDiagram, an agentic framework that generates object-level editable diagrams via an intermediate canvas schema. EvoDiagram employs a coordinated multi-agent system to decouple semantic intent from rendering logic, resolving conflicts across heterogeneous design layers. Additionally, we propose a design knowledge evolution mechanism that distills execution traces into a hierarchical memory of domain guidelines, enabling agents to retrieve context-aware expertise adaptively. We further release CanvasBench, a benchmark consisting of both data and metrics for canvas-based diagramming. Extensive experiments demonstrate that EvoDiagram exhibits excellent performance and balance against baselines in generating editable, structurally consistent, and aesthetically coherent diagrams. Our code is available at https://github.com/AuraX-AI/EvoDiagram.
Figures & tables
| Category | Method | Content | Visual | Cognitive | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ( ) | ( ) | ( ) | ( ) | ( ) | ( ) | ( ) | ( ) | ( ) | ( ) | ||
| Diffusion | GPT-4o-Image | 2.200 | 3.110 | 2.710 | 3.990 | 4.354 | 4.153 | 3.923 | 4.301 | 2.751 | 3.043 |
| NanoBanano | 1.986 | 2.871 | 2.657 | 3.767 | 3.838 | 3.533 | 3.671 | 3.761 | 2.665 | 2.990 | |
| Flux.2 flex | 1.871 | 2.782 | 2.643 | 3.836 | 3.868 | 3.614 | 3.704 | 3.780 | 2.712 | 2.922 | |
| L a T e X Tikz | GPT-5.2 | 4.096 | 3.933 | 4.067 | 2.833 | 3.257 | 2.933 | 2.543 | 3.295 | 3.171 | 2.505 |
| Gemini-3-Pro | 4.201 | 4.129 | 4.086 | 3.368 | 3.670 | 3.641 | 3.124 | 3.871 | 3.416 | 2.541 | |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Chart Type | Best For | Key Characteristics |
|---|---|---|
| Architecture Diagram | System design, software structure | Modules, components, and interfaces |
| Class Diagram | OOP modeling, database schemas | Classes, attributes, methods, inheritance |
| Concept Map | Knowledge organization, learning | Nodes connected by labeled relationships |
| Data Flow Diagram | System information flow analysis | Processes, data stores, external entities |
| Entity Relationship | Database design, modeling data | Entities, attributes, relationships (1:N, M:N) |
| Fishbone Diagram | Root cause analysis | Spine (problem) with ribs (causes) |
| Category | Property | Candidate Parameters Values |
|---|---|---|
| Color | TLColor | black, grey, light-violet, violet, blue, light-blue, yellow, orange, green, light-green, light-red, red, white |
| Geometry | TLGeo | rectangle, ellipse, triangle, diamond, pentagon, hexagon, octagon, star, cloud, arrowLeft, arrowRight, arrowUp, arrowDown |
| Size | TLSize | s, m, l, xl |
| Fill Style | TLFill | none, semi, solid, pattern |
| Dash Style | TLDash | draw, solid, dashed, dotted |
| Typography | TLFont | draw, sans, serif, mono |
| Category | Property | Restricted Parameter Space |
|---|---|---|
| Position | x, y | Positive Integers |
| Dimensions | w, h | Positive Integers |
| Rotation | rotation | Integer Degrees |
| Alignment | align | start , middle , end |
| Layering | index | Sequential Rank Index |
| Dimension | Metric Name | Symbol | Focus | Sub-items |
| Content Integrity | Content Fidelity | Trustworthiness & Fact-checking | Factual Consistency, Hallucination Rate, Evidence Traceability | |
| Concept Logic | Logical Structure & Relationships | Edge Correctness, Relation Type Accuracy, Self-Consistency, Hierarchy Rationality | ||
| Semantic Relevance | Information Density & Alignment | Coverage, Conciseness, Context Alignment | ||
| Visual Presentation | Visual Aesthetics | Overall Look & Feel | Composition & Whitespace, Harmony, Professionalism | |
| Styling Consistency | Standardization & Uniformity | Font Consistency, Line & Shape Consistency, Color Theme Consistency | ||
| Flow Coherence | Reading Path & Navigation | Main Reading Direction, Low Path Ambiguity, Key Path Trackability |