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

Incorrect edge rendering with latest graphviz #1306

Open
jesperolsson-se opened this issue Oct 18, 2023 · 2 comments
Open

Incorrect edge rendering with latest graphviz #1306

jesperolsson-se opened this issue Oct 18, 2023 · 2 comments

Comments

@jesperolsson-se
Copy link
Member

The edges between tables are not rendered correctly using graphviz 9.0.0. The arrowtails are rendered, but the rest of the edge is cut off or missing completely.

image

Expected Behavior

The complete arrows should be rendered.
Alternatively, SchemaSpy/Graphviz version compatability should be documented clearly.

Current Behavior

SchemaSpy produces valid .dot but at incorrect .png, .svg and maybe more image formats.

Possible Solution

This might be a bug or breaking change in graphviz.

Steps to Reproduce (for bugs)

  1. Install Graphviz 9.0.0
  2. Run a valid SchemaSpy command.

Context

  • Database type (e.g. MySQL): mssql17
  • Database driver version (is you use a special one): mssql-jdbc-12.4.1.jre11.jar

Your Environment

  • Version used: 6.2.4
  • Operating System and version (e.g. Windows 10): Windows 10
@npetzall
Copy link
Member

@jesperolsson-se have you tried with more versions if Graphviz.

Is this an issue with Graphviz or a SchemaSpy issue?

@jesperolsson-se
Copy link
Member Author

@npetzall
The last graphviz version before 9.0.0 was 8.1.0, which displays the correct behaviour.

SchemaSpy produces the same .dot file, and running e.g., dot example.dot -Tpng -o example.png results in the same unexpected behaviour. However, I don't know if its an intentional breaking change on their part or not. I've opened an issue in the Graphviz repo, so let's see how they respond.

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