将 XMind 思维导图文件转换为多种 Markdown 流程图格式。
任务方法转换为 Mermaidpython scripts/xmind2md.py file.xmind mermaid转换为 PlantUMLpython scripts/xmind2md.py file.xmind plantuml转换为 Markdown 列表python scripts/xmind2md.py file.xmind markdown带编号流程图python scripts/xmind2md.py file.xmind numbered带样式流程图python scripts/xmind2md.py file.xmind styled
text
scripts/xmind2md.py
bash
# 基本用法
python scripts/xmind2md.py <xmind_file> [format]
# 默认输出 mermaid 格式
python scripts/xmind2md.py test.xmind
# 指定输出格式
python scripts/xmind2md.py test.xmind mermaid
python scripts/xmind2md.py test.xmind markdown
python scripts/xmind2md.py test.xmind plantuml
python scripts/xmind2md.py test.xmind numbered
python scripts/xmind2md.py test.xmind styled
格式说明适用场景mermaidMermaid 流程图GitHub/GitLab Markdown、文档嵌入plantumlPlantUML UML 图需要更正式的 UML 表示markdownMarkdown 列表简单层级展示numbered带编号的 Mermaid复杂结构,需要追踪节点styled带主题样式的 Mermaid需要视觉美化
当用户请求转换 XMind 文件时:
mermaid,根据用户需求选择其他格式python scripts/xmind2md.py <file> <format>Rendering diagram...
markdown
# 项目规划
- 需求分析
- 用户调研
- 竞品分析
- 开发阶段
- 前端开发
- 后端开发
Rendering diagram...
content.xml 或 content.json