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

Better ER diagrams with more than two rows #465

Open
carlsmedstad opened this issue Apr 7, 2023 · 1 comment
Open

Better ER diagrams with more than two rows #465

carlsmedstad opened this issue Apr 7, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@carlsmedstad
Copy link

carlsmedstad commented Apr 7, 2023

The following schema becomes a bit hard to read due to so many intersected relations:

schema er_diagram

It seems tbls is limited to putting tables on two "rows" while some tables would fit better on a separate third row. Would it be possible to implement a feature where tbls either would produce a more vertical schema, or where one could specify how many rows tbls should put tables on?

@carlsmedstad carlsmedstad added the enhancement New feature or request label Apr 7, 2023
@k1LoW
Copy link
Owner

k1LoW commented Apr 7, 2023

Hi @carlsmedstad

It seems tbls is limited to putting tables on two "rows"

It is not specifically limited to two rows. This is done automatically by Graphviz, which is built into the system.

The following sample shows the placement of two or more rows.

https://github.com/k1LoW/tbls/tree/main/sample/mysql

Unfortunately, the placement of the diagram is left to the Graphviz engine and is not controllable.

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

No branches or pull requests

2 participants