Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colorful ER diagram #16

Open
Raven888888 opened this issue Oct 25, 2022 · 2 comments
Open

Colorful ER diagram #16

Raven888888 opened this issue Oct 25, 2022 · 2 comments

Comments

@Raven888888
Copy link

Possible to add option to output colorful ER diagram?

@maurerle
Copy link
Owner

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
Copy link
Owner

maurerle commented Oct 25, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants