GenAI-DrawIO-Creator:自动化图表生成的框架
GenAI-DrawIO-Creator: A Framework for Automated Diagram Generation
AI总结:
本文提出GenAI-DrawIO-Creator框架,利用大语言模型实现基于XML的图表自动生成与修改,通过高级系统设计和提示工程提升XML输出质量,展示原型能从自然语言或代码生成准确图表,并通过模拟评估证明其在图表创建效率和结构精度上的优势。
摘要:
图表对于传达复杂信息至关重要,但创建和修改图表仍然是一个耗时的任务。我们提出了GenAI-DrawIO-Creator框架,利用大型语言模型(LLMs)在draw.io使用的结构化XML格式中自动化图表生成和修改。我们的系统集成了Claude 3.7,以推理结构化视觉数据并生成有效的图表表示。关键贡献包括一个高级系统设计,能够实现实时图表更新,专门的提示工程和错误检查以确保有效的XML输出。我们展示了能够从自然语言或代码生成准确的图表(如网络架构和流程图)的原型,并能从图像中复制图表。模拟评估显示,我们的方法显著减少了图表创建时间,并产生了高结构保真的输出。我们的结果突显了Claude 3.7在处理结构化视觉推理任务中的潜力,并为未来AI辅助图表应用的研究奠定了基础。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。