Mermaid-Chart / issue-tracker

Other
7 stars 1 forks source link

PNG Resolution too low #5

Closed fredwojna closed 10 months ago

fredwojna commented 1 year ago

Describe the bug PNG resolution is too low when exporting a large entity-relationship model.

To Reproduce Steps to reproduce the behavior:

  1. Create a big Entity Relationship model with about 60 entities (including attribute description per entity)
  2. Click on the PNG button to export
  3. Open the PNG file
  4. The image has not enough resolution to zoom in. Everything is pixelated

Expected behavior I would like to have a usable PNG when I work on large entity relationship models

Screenshots Check the screenshot

Desktop (please complete the following information):

Smartphone (please complete the following information):

knsv commented 11 months ago

Hi!

Thanks for reporting.

The pngs exported is in 4K resolution. I need further zoom capabilities I would suggest you export the diagram as a SVG instead that is vector based. Increasing the size of the PNGs further would make them a bit too large for common diagrams.