gitmyhub

Visiomaster

Python ★ 706 updated 1mo ago

参考 ppt-master 思路构建的 Visio 图形重建工具包,将流程图、架构图和论文模块图从图片重建为可编辑 .vsdx,并导出 SVG/PNG。

A Windows tool that rebuilds flowcharts and diagrams from images into editable Microsoft Visio files.

PythonVisio COMpywin32setup: hardcomplexity 3/5

Visiomaster is a Windows focused tool that rebuilds diagrams as editable Microsoft Visio files. It takes flowcharts, architecture diagrams, or academic paper diagrams, whether they already exist as images or were generated by tools like GPT or Gemini, and turns them into a real .vsdx file you can keep editing, along with SVG and PNG exports for quick review.

The goal is not to simply paste the original picture into Visio. Instead, the tool breaks the image down into actual Visio shapes, text, and connecting lines, so the result behaves like a diagram someone built directly in Visio rather than an image pasted on a page. The design follows a similar approach to a project called ppt master: first understand the image, break down its structure and style, then drive a rendering script using a stable intermediate description file. The difference is that Visiomaster's end goal is an editable Visio diagram rather than a slide.

The core process moves from an original image to an intermediate scene.json file, through structure checking and module review, then to rendering through Visio itself, producing the vsdx, svg, and png outputs, followed by a visual comparison and manual fixes if needed. Typical uses include recreating model architecture diagrams and flowcharts from research papers, or converting AI generated academic diagrams into something you can relabel, rewire, recolor, and lay out for a slide deck.

Running it requires Windows, a desktop copy of Microsoft Visio, Python 3.10 or newer, and the Python packages listed in requirements.txt. It works both as a plain command line tool where you prepare a scene file and run validation and rendering scripts yourself, and as a skill for AI coding assistants like Codex or Claude Code, which can read the included SKILL.md and call the same scripts. The image to scene conversion only produces a starting point, not a guaranteed exact reproduction, so complex diagrams typically need manual or AI assisted adjustments before the final render matches the source closely.

Where it fits