Skip to content

Mermaid Builder is a Python library designed to generate Mermaid diagram files (.mmd) directly from Python code

License

Notifications You must be signed in to change notification settings

cuongnb14/mermaid-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/mermaid-builder.git@v1.1.0#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.

About

Mermaid Builder is a Python library designed to generate Mermaid diagram files (.mmd) directly from Python code

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages