BurntSushi / erd

Translates a plain text description of a relational database schema to a graphical entity-relationship diagram.
The Unlicense
1.79k stars 154 forks source link

Make edges style (dashed/solid) customizable #93

Closed kukimik closed 3 years ago

kukimik commented 3 years ago

The edges in the graph are dashed and this is hardcoded in this line: https://github.com/BurntSushi/erd/blob/06c72643682a42a890a2ffadac82cfc1dafd5edd/app/Main.hs#L54

Can we make this customizable? I am aware of the Philosophy statement:

I don't intend for erd to have a large feature set with a lot of options for customizing the appearance of ER diagrams.

However, this dashed style may be confusing, because in some ERD notations (e.g. Baker's notation dashed lines have a meaning. In some usecases, like mine, this is a problem.

If this idea gets accepted, I'll be happy to make a PR.

mmzx commented 3 years ago

Sure, go ahead. You may look up the related graphviz documentation for the supported types of edges.