Skip to content

182 update library export as svg return type #184

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

Merged
merged 6 commits into from
May 22, 2025

Conversation

egenerse
Copy link
Collaborator

Checklist

  • I linked PR with a related issue
  • I added multiple screenshots/screencasts of my UI changes

Motivation and Context

Exported SVG was too big before, around 2mb and had too much element inside
We create our own svg and fill it with related nodes and edges data
New SVG format doesn't include foreignObject and it makes it possible to work with export as PNG and PDF

This PR completes #182

Description

Steps for Testing

  1. Edit diagram
  2. User export methods to get exports

Screenshots

aa.mov

@egenerse egenerse linked an issue May 22, 2025 that may be closed by this pull request
@egenerse egenerse requested a review from kurunbelemir May 22, 2025 13:16
Copy link
Collaborator

@kurunbelemir kurunbelemir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job

@egenerse egenerse merged commit bb444d8 into main May 22, 2025
3 checks passed
@egenerse egenerse deleted the 182-update-library-export-as-svg-return-type branch May 22, 2025 14:44
@egenerse egenerse self-assigned this May 23, 2025
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.

update library export as svg return type
2 participants