Saved in:
Bibliographic Details
Main Authors: Yu, Jinze, Jiang, Dayuan
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2601.05162
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917357533790208
author Yu, Jinze
Jiang, Dayuan
author_facet Yu, Jinze
Jiang, Dayuan
contents Diagrams are crucial for communicating complex information, yet creating and modifying them remains a labor-intensive task. We present GenAI-DrawIO-Creator, a novel framework that leverages Large Language Models (LLMs) to automate diagram generation and manipulation in the structured XML format used by draw.io. Our system integrates Claude 3.7 to reason about structured visual data and produce valid diagram representations. Key contributions include a high-level system design enabling real-time diagram updates, specialized prompt engineering and error-checking to ensure well-formed XML outputs. We demonstrate a working prototype capable of generating accurate diagrams (such as network architectures and flowcharts) from natural language or code, and even replicating diagrams from images. Simulated evaluations show that our approach significantly reduces diagram creation time and produces outputs with high structural fidelity. Our results highlight the promise of Claude 3.7 in handling structured visual reasoning tasks and lay the groundwork for future research in AI-assisted diagramming applications.
format Preprint
id arxiv_https___arxiv_org_abs_2601_05162
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle GenAI-DrawIO-Creator: A Framework for Automated Diagram Generation
Yu, Jinze
Jiang, Dayuan
Graphics
Computer Vision and Pattern Recognition
Diagrams are crucial for communicating complex information, yet creating and modifying them remains a labor-intensive task. We present GenAI-DrawIO-Creator, a novel framework that leverages Large Language Models (LLMs) to automate diagram generation and manipulation in the structured XML format used by draw.io. Our system integrates Claude 3.7 to reason about structured visual data and produce valid diagram representations. Key contributions include a high-level system design enabling real-time diagram updates, specialized prompt engineering and error-checking to ensure well-formed XML outputs. We demonstrate a working prototype capable of generating accurate diagrams (such as network architectures and flowcharts) from natural language or code, and even replicating diagrams from images. Simulated evaluations show that our approach significantly reduces diagram creation time and produces outputs with high structural fidelity. Our results highlight the promise of Claude 3.7 in handling structured visual reasoning tasks and lay the groundwork for future research in AI-assisted diagramming applications.
title GenAI-DrawIO-Creator: A Framework for Automated Diagram Generation
topic Graphics
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2601.05162