maurerle / eralchemy2

Entity Relation Diagrams generation tool - DEPRECATED
https://github.com/eralchemy/eralchemy
Apache License 2.0
70 stars 17 forks source link

Colorful ER diagram #16

Open Raven888888 opened 2 years ago

Raven888888 commented 2 years ago

Possible to add option to output colorful ER diagram?

maurerle commented 2 years ago

You mean like presented here?

erd image

So erd, which is used to plot this, actually supports this, but a color is not written to the processed erd file. How would you like or expect to set the colors?

maurerle commented 2 years ago

So for reference: one would need to set the bgcolor per table like it is done it the related erd project: https://github.com/BurntSushi/erd/blob/master/examples/nfldb.er

and https://github.com/BurntSushi/erd#fonts-colors-labels-

Currently, this is not parsed or possible in the eralchemy2 parser, as the REgex parsing does not respect this.

How would you expect to use/configure the colors for a .db or database URI?