Astah Mermaid Plugin

The Astah Mermaid Plug-in lets you export Astah Class and Sequence diagrams as Mermaid text.
Use the exported code in GitHub, Mermaid Live Editor, and any place Mermaid is supported.

Details

Compatible with
Latest Version
0.1.0
Developer
Change Vision, Inc.
Support
No technical support is provided.

What is Mermaid?

Mermaid is an excellent JavaScript-based diagramming tool that generates diagrams from Markdown-style text.
Because diagrams are stored as code, they’re easy to share, edit, and manage in Git – especially on Github.

Mermaid Original Image

What you can do with this plugin

With the Astah Mermaid Plugin, you can:

  • Export Astah diagrams to Mermaid code
    Paste the generated text into GitHub, Mermaid, and other Mermaid-enabled tools.
  • Keep diagrams under version control
    Since Mermaid diagrams are text-based, you can track changes clearly in Git.

Astah Mermaid Feature Image

How to Install

  1. Download the Plug-in .jar file.
  2. Drag and drop the .jar file onto an open instance of Astah. When prompted, click [Yes] to confirm installation.
  3. Restart Astah to activate the plug-in.
  4. If you can see [Mermaid plugin] under [Tools], installation is complete.
    Astah Mermaid Plugin

 

How to Use

 

Export multiple diagrams at once

    1. Open a project file
    2. Go to [Tools] – [Mermaid plugin] – [Save as Mermaid format]
    3. Choose a destination folder.
    4. Mermaid files for all Class and Sequence diagrams in the project are exported to the folder.

Export a single diagram

    1. Open the Class diagram or Sequence diagram you want to export.
    2. Go to [Tools] – [Mermaid plugin] – [Copy this diagram to clipboard].
      You can now paste the Mermaid code wherever you need it.

 

Supported model elements

 

Class Diagram

  • Classes
  • Associations / Dependencies / Realizations / Usages / Generalizations
  • Attributes / Operations
  • Parameters / Return Values
  • Stereotypes

Sequence Diagram

  • Lifelines
  • Messages

※If you’d like to export Flowchart, you can use this Script via Script Editor!

Many thanks!

Thank you Avens666 for an inspiration!

Back to Plugin List

What are you looking for?