Skip to content

Repository files navigation

Mermaid ERD Generator

General Purpose Tool for generating Mermaid.js ERD Diagrams

Importing From CSVs

Given a csv_directory of csv files representing entities (IE: each file is a SQL dumps of a table), run ./main.py csv_directory.

-- or --

Add CSV files to csvs directory and run ./main.py

This will print a Mermaid ERD Diagram with Entities for each CSV file. CSV Header rows will be used to generate entitiy attributes. By default, all entity attributes will be string data types.

This printed diagram string can be previewed using a Mermaid preview tool like Mermaid Live

Test Diagram

About

Generate Mermaid ERD Diagrams

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages