https://github.com/kukimik/morela
Draw a relational database schema diagram basing on a textual description.
https://github.com/kukimik/morela
Last synced: 3 months ago
JSON representation
Draw a relational database schema diagram basing on a textual description.
- Host: GitHub
- URL: https://github.com/kukimik/morela
- Owner: kukimik
- License: unlicense
- Created: 2021-04-15T13:34:56.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-27T19:57:41.000Z (over 3 years ago)
- Last Synced: 2025-01-19T13:43:37.525Z (4 months ago)
- Language: Haskell
- Size: 217 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
Awesome Lists containing this project
README
`morela` transforms a plain text description of relational database schema
(including tables, their attributes and integrity constraints) into a visual
diagram modeling the description. The visualization is produced
using GraphViz.This project is based on the [`erd`](http://github.com/BurntSushi/erd) tool
by Andrew Gallant.At present `morela` is in early development phase and highly unstable.
### Installation
`morela` requires [GraphViz](http://www.graphviz.org/download/).
#### Stack
Install the [Stack](http://docs.haskellstack.org/en/stable/README/) build tool,
and build from source:git clone git://github.com/kukimik/morela
cd morela
stack install`stack install` will put the binary into Stack's standard binary
installation path. Unless you've overridden it, that's `~/.local/bin`
on Unix and OS X, `%APPDATA%\local\bin` on Windows.### Usage
```bash
morela [-f|--output-format FORMAT] < input.mrl > output_file
```Available output formats are: dot,eps,fig,gif,jpeg,pdf,png,ps,ps2,svg,svgz,tiff,webp,sql.