Mermaid is an excellent JavaScript based diagramming and charting tool that takes Markdown-inspired text definitions and creates diagrams. Now it works within Github.
What you can do with this plugin
You can export Astah diagrams to Mermaid code. So that you can paste the diagrams in Mermaid, GitHub and more – wherever this Mermaid code works.
Since Mermaid is completely text-based, you can even keep diagrams under Git version control.
After the download is complete, drag the downloaded .jar file to an open instance of Astah. A pop-up will appear asking you to confirm installation, choose [Yes]. If the pop-up below opens restart Astah.
If you see [Mermaid plugin] menu under [Tools], the installation is complete!
How to Use
Export multiple diagrams at once
Open a project file, then go to [Tools] – [Mermaid plugin] – [Save as Mermaid format]
A file chooser opens, specify where you want to save the exported code
Mermaid code of Class diagrams and Sequence diagrams will be saved in the specified directory.
Export per diagram
Open a Class diagram or Sequence diagram you want to export the code of
Go to [Tools] – [Mermaid plugin] – [Copy this diagram to clipboard]
Now you can use this code to create UML diagram on Mermaid.
Supported model elements
Currently, only Class diagrams and Sequence diagrams are supported. Supported model elements are as below: