Project

erdf

0.0
No commit activity in last 3 years
No release in over 3 years
Generate good looking Entity-Relationship-Diagrams from text files or a PostgreSQL database.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 5.10
~> 12.0

Runtime

~> 4.0
 Project Readme

Entity-Relationship-Diagramm-Erzeuger

A simple tool to generate Entity-Relationship-Diagrams based on text input or directly from a PostgreSQL database. The format of the text schema is inspired and based on "erd" by Andrew Gallant.

Fork of edgycircle/erde with fixes added to suit our development.

Motivation : Auto generating ERD from database

There are online tools like genmymodel which allows to build ERD diagrams.

We wanted a way where from a database we could draw a picture. This helps an instant update of schema and not making it stale.

Hence we would create make targets that gets triggered which generates schema, from the Makefile in our rust aran api server.

Install

Make sure you have Graphviz installed and available in your $PATH.

Install the gem with gem install erdf.

CLI Usage

erdf version
erdf file docs/schema.txt docs/schema.png
bin/erdf database postgres://user:password@localhost/your_database docs/schema.png

Text Schema Format

[identities]
id
password
email

[players]
id
name
identity_id

players:identity_id -- identities:id