Use Astah JS plugin, export astah diagrams data (such as flowchart, class chart ) to mermaid text fomat and Plantuml format
Clone or download
Pull request Compare This branch is 35 commits ahead, 1 commit behind Avens666:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img
js
LICENSE
README.md

README.md

Astah_Jude_UML_export_to_Markdown-mermaid-Plantuml-

Use Astah JS plugin, export astah diagrams data (such as flowchart, class chart ) to mermaid text fomat and Plantuml format Both of them could insert to Markdown

本项目提供将Astah中的UML图转换为文本图标格式的脚本,可以将Astah软件中的流程图,序列图,转换为mermaid格式Plantuml格式 这两种格式都可以集成到markdown文件

Use text format to save UML diagrams, you could use svn or git to manage your software design document.

使用文本格式保存UML图,就可以对软件的设计文档进行版本管理

Astah

Astah is a UML model design software, could ask its web http://astah.net/

Astah是专业的UML建模工具软件,请到其主页了解 http://astah.net/

You must install astah script plugin to use js script file of my project

使用本项目的js脚本,需要安装Astah的脚本插件,这是其插件的地址

https://github.com/ChangeVision/astah-script-plugin

Download astah script plugin

mermaid

Generation of diagrams and flowcharts from text in a similar manner as markdown.

https://knsv.github.io/mermaid/

Haroopad could edit markdown file offline, and it support mermaid format http://pad.haroopress.com/ mermaid just support flowchart sequence diagram gantt diagram

离线markdown编辑工具Haroopad 支持mermaid格式,可直接嵌入到markdown文本中转为图显示 mermaid可以适用离线编辑,但只能支持支持流程图 序列图和甘特图

Plantuml

Plantuml could support more UML diagram, but it need online, its source code need encode and convert to image.

http://plantuml.com/ Plantuml可以支持更多的UML格式,但是需要在线连接服务器解析,同时文本不能直接转为图,需要连接服务器转为特别的编码再解析为图

you could convert plantuml use the link http://www.plantuml.com/plantuml/uml/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000

How to use

  1. Open Diagram in Astah
  2. Open Astah script tool (need install script plugin)
  3. Load js file in script tool dialog, run it (click play button or "ctrl+R" hotkey)
  4. script will convert diagram,and output to output area, could copy it to markdown

view in Haroopad

Plantuml demo