Project

erde

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.12
~> 5.0
~> 10.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.

Install

Make sure you have Graphviz installed and available in your $PATH. Install the gem with gem install erde or add it to your Gemfile.

CLI Usage

bin/erde file docs/schema.txt docs/schema.png
bin/erde 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