Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.06 KB

README.rst

File metadata and controls

28 lines (18 loc) · 1.06 KB

Mermaid builder

Mermaid Builder is a Python library designed to generate Mermaid diagram files (.mmd) directly from Python code. With this library, you can easily create and maintain complex flowcharts, sequence diagrams, and other types of diagrams using a programmatic approach.

Support Diagrams

  • Flowcharts: Create flowcharts with various shapes, icons, and styles.
  • Sequence Diagrams: Generate sequence diagrams with participants, messages, and fragments.

Install

# Latest
pip install git+https://github.com/cuongnb14/mermaid-builder.git@main#egg=mermaid-builder
# Stable
pip install git+https://github.com/cuongnb14/[email protected]#egg=mermaid-builder

Example

This scripts creates diagram and saves it to ./outputs. It also prints a live URL to view the diagram directly in your browser. Check example code here https://github.com/cuongnb14/mermaid-builder/tree/main/examples.