arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.01102cs.SE
收藏

SAGE: 结构化智能体图编辑用于软件图表

SAGE: Structured Agentic Graph Editing for Software Diagrams

Purdue University(普渡大学)

Tyler Sivertsen, Neal Singh, James C. Davis

AI总结:

提出SAGE工具,通过自然语言提示编辑软件图表,将图表映射为可编辑图结构,翻译请求为结构化编辑意图并执行操作,支持验证修复和版本管理,通过单元测试和Kubernetes案例评估有效性。

摘要:

软件图表通过人类友好的界面编辑是困难的,因为用自然语言表达的编辑必须保留视觉布局、可编辑结构和语义关系。作为一步进展,我们提出了SAGE,一个基于浏览器的工具,用于提示引导编辑 this http URL 和 Mermaid 风格的工程图表。该工具将图表映射为可编辑的图表示,将自然语言请求翻译为结构化编辑意图,分析这些意图为面向图的操作步骤,验证和修复常见的 this http URL XML 问题,并将成功的结果存储为可恢复的版本化工件。这种设计将结构化状态管理与模型驱动的解释分离,同时承认一些提示引导的 XML 编辑仍然是模型辅助的。该工具还支持直接画布编辑和基于掩码的二次图像编辑工作流。我们使用单元测试和 Kubernetes 架构案例研究评估系统,测量结构有效性、编辑成功、无关元素的保留以及失败原因。

英文摘要:

Software diagrams are difficult to edit through human-friendly interfaces because edits expressed in natural language must still preserve visual layout, editable structure, and semantic relationships. As a step forward, we present SAGE, a browser-based tool for prompt-guided editing of Draw.io and Mermaid-style engineering diagrams. The tool maps diagrams into an editable graph representation, translates natural language requests into structured edit intents, analyzes those intents into graph-oriented operation steps, validates and repairs common Draw.io XML issues, and stores successful results as recoverable versioned artifacts. This design separates structured state management from model-driven interpretation, while acknowledging that some prompt-guided XML edits remain model-assisted. The tool also supports direct canvas editing and a secondary mask-based image-editing workflow. We evaluate the system using unit tests and a Kubernetes architecture case study, measuring structural validity, edit success, preservation of unrelated elements, and failure causes.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑