流程图2Mermaid:一种基于视觉-语言模型的系统,用于将流程图转换为可编辑的图表代码
Flowchart2Mermaid: A Vision-Language Model Powered System for Converting Flowcharts into Editable Diagram Code
AI总结:
Flowchart2Mermaid通过视觉-语言模型将流程图图像转换为可编辑的Mermaid代码,提供结构化文本表示和混合初始化的编辑功能,提升流程图的可重用性和版本控制能力。
摘要:
流程图是沟通过程的常见工具,但通常以静态图像形式共享,难以轻松编辑或重用。我们提出了Flowchart2Mermaid,一个轻量级的网页系统,利用详细的系统提示和视觉-语言模型,将流程图图像转换为可编辑的Mermaid.js代码,这是一种用于可视化工作流的标记语言。界面支持混合初始化的细化,通过内联文本编辑、拖放节点插入和自然语言命令,由集成的AI助手解释。与以往的图像到图表工具不同,我们的方法生成了一种结构化、版本可控的文本表示,始终保持与渲染图表同步。我们进一步引入了评估指标,以评估结构准确性、流程正确性、语法有效性以及多个模型的完整性。
英文摘要:
Flowcharts are common tools for communicating processes but are often shared as static images that cannot be easily edited or reused. We present Flowchart2Mermaid, a lightweight web system that converts flowchart images into editable Mermaid.js code which is a markup language for visual workflows, using a detailed system prompt and vision-language models. The interface supports mixed-initiative refinement through inline text editing, drag-and-drop node insertion, and natural-language commands interpreted by an integrated AI assistant. Unlike prior image-to-diagram tools, our approach produces a structured, version-controllable textual representation that remains synchronized with the rendered diagram. We further introduce evaluation metrics to assess structural accuracy, flow correctness, syntax validity, and completeness across multiple models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。