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

SVG wrong scaling #168

Open
alexl4123 opened this issue Apr 4, 2024 · 0 comments
Open

SVG wrong scaling #168

alexl4123 opened this issue Apr 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@alexl4123
Copy link
Collaborator

While trying out the example "tree_browser", I encountered the issue of a wrongly scaled SVG. In principle the SVG was there, but cropped s.t. it was impossible to use it.
The issue (seems) to result from Graphviz, as an element of the SVG has a too high scale transformation, compared to the size of the svg size.
More precisely the issue is with: "<g id="graph0" ... transform="scale(1.91 1.91)" ... >" . Note that on other OS (Mac OS) with a different Graphviz version (@susuhahnml ) the scale of the "<g id="graph0"..." is correct with approximately "scale(0.52 0.52)".
See also the attached screenshots.

Screenshot from 2024-04-04 21-14-08
Screenshot from 2024-04-04 21-15-03

System:

  • Branch: "new-docs"
  • Commit: d1fbd06
  • OS: Ubuntu 22.04
  • Graphviz version (pip): 0.20.3
  • Graphviz version ($ dot -v): dot - graphviz version 2.43.0 (0)
  • Python version: 3.10.14
@alexl4123 alexl4123 added the bug Something isn't working label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant