Skip to content

Conversation

@ib31iat
Copy link
Contributor

@ib31iat ib31iat commented Jul 18, 2025

Fix the lineage download button. In particular the following changes were made:

  • Change file type to svg
  • Download whole view, not just current viewport
  • Add confirmation dialog

- Change file type to svg
- Download whole view, not just current viewport
- Add confirmation dialog
@ib31iat ib31iat requested a review from zzeekk July 18, 2025 11:48
@ib31iat ib31iat linked an issue Jul 18, 2025 that may be closed by this pull request
Copy link
Contributor

@zzeekk zzeekk left a comment

Choose a reason for hiding this comment

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

Tried it out, but it is very slow and creates huge svg files, e.g. for a graph with 18 nodes it takes ~30s and creates a ~50MB file.
Looking in the SVG it seems that 100kB of styles are repeated for every nodes and edges.

I would rather disable it than keeping it like this. Lets not put much more time into it, if there is no easy solution.

@ib31iat
Copy link
Contributor Author

ib31iat commented Jul 18, 2025

I only tried smaller graphs as I do not have large samples. I agree that it is not worth it to spend more time on it. So I will just disable the button, but leave the code in their. Is that alright or should I remove the code completely?

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.

Lineage Download is broken

3 participants