frolic06 / erd-dotnet

Translates a plain text description of a relational database schema to a graphical entity-relationship diagram (using graphviz)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

erd-dotnet

This utility translates a plain text description of a relational database schema to a graphical entity-relationship diagram. The visualization is produced by using Dot with GraphViz. The output graph is a png image.

Here is an example of the output:

Simple erd example

Installation

erd-dotnet requires:

All of these are available for Windows, Mac and Linux. Dot must be in your path.

Usage

erd-dotnet

Where:

  • is the path of a text file (.er format)
  • is the path of the output file (.png)

Quick example of a .er file

[Person]
*name
height
weight
birth
+location_id

Build instruction

You need .net 5 SDK.

Build:

dotnet build

Run:

dotnet run

Credit

This work is based on the work of:

About

Translates a plain text description of a relational database schema to a graphical entity-relationship diagram (using graphviz)

License:MIT License


Languages

Language:C# 100.0%