Mermaid: Create Class Diagrams for Your Python Classes Using Text and Code

If you want to create class diagrams to explain your Python classes, use Mermaid. Mermaid lets you create diagrams and visualizations using text and code.

For example, writing this piece of code on Mermaid Live Editor:

… will create a diagram like above.

Find other diagrams you can create with Mermaid here.

Scroll to Top