When exporting large ER diagram to SVG the result is cropped
See original GitHub issueI had a look and I found this related issue: #3099 and I also found a comment explaining a workaround (see https://github.com/dbeaver/dbeaver/issues/3099#issuecomment-490088699), but I couldn’t get it to work.
Please find attached the SVG as produced by DBeaver. When I open it with my system viewer (I have Chrom and Edge for Windows), it only shows one small part of the diagram. Zooming out doesn’t help. However, I was able to manually add the width
and height
attributes to the top-level <svg>
element to get the whole diagram to show (in my case I used <svg width="2400" height="6700">
). Possibly there are better ways to achieve the same thing, but I have as good as no knowledge about SVG, so I wouldn’t really know.
Possibly this is a limitation of the viewer (like Chrome), but somehow I doubt that and rather suspect that some attribute is missing in the XML.
System information:
- Operating system (distribution) and version: Windows 10
- DBeaver version: 7.3.5
- Additional extensions: SVG Extension 1.0.87
Connection specification:
- Database name and version
- Driver name
- Do you use tunnels or proxies (SSH, SOCKS, etc)?
Describe the problem you’re observing:
Steps to reproduce, if exist:
Include any warning/errors/backtraces from the logs
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (4 by maintainers)
Yes! With the Early Access it now works as expected. The version of the SVG extension is now also updated: 1.0.89.202103211229. I was assuming I would only have to update the existing plug-in.
To be really sure, can you install the Early Access version? https://dbeaver.io/files/ea/
Thanks again.