Skip to content

Improve PNG export quality#32

Merged
haan merged 7 commits into
mainfrom
improve-png-export
May 15, 2026
Merged

Improve PNG export quality#32
haan merged 7 commits into
mainfrom
improve-png-export

Conversation

@haan
Copy link
Copy Markdown
Owner

@haan haan commented May 15, 2026

Summary

  • Export PNGs from a dedicated offscreen React Flow renderer instead of the current user viewport.
  • Compute full active-view bounds for visible diagram content and annotations.
  • Use capped high-resolution output and preserve the existing white background and export exclusions.
  • Fix class accent rendering for PNG export and wait for offscreen flow initialization before capture.

Validation

  • npm run lint
  • npm run test:unit
  • npm run build:ci

@haan haan merged commit 21f59f8 into main May 15, 2026
1 check passed
@haan haan deleted the improve-png-export branch May 15, 2026 08:59
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

Successfully merging this pull request may close these issues.

1 participant