-
Notifications
You must be signed in to change notification settings - Fork 187
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
Export macromolecules canvas as svg image #4539
Labels
Test Cases Written
Test cases has been written for that issue
Milestone
Comments
ilya-asiyuk-epam
added a commit
that referenced
this issue
May 13, 2024
9 tasks
ilya-asiyuk-epam
added a commit
that referenced
this issue
May 13, 2024
ilya-asiyuk-epam
added a commit
that referenced
this issue
May 14, 2024
ilya-asiyuk-epam
added a commit
that referenced
this issue
May 14, 2024
ilya-asiyuk-epam
added a commit
that referenced
this issue
May 14, 2024
ilya-asiyuk-epam
added a commit
that referenced
this issue
May 15, 2024
ilya-asiyuk-epam
added a commit
that referenced
this issue
May 15, 2024
…as-svg-image #4539 - Export macromolecules canvas as svg image
This was referenced May 18, 2024
Open
Open
Verified.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
It needs to allow users to export macromolecules canvas as svg image from ketcher ui and api.
Solution
Export svg from ketcher ui
New option "SVG Document" should appear in "file format" dropdown "Save Structure" dialog.
When option selected system should export all structures drawn on canvas to svg format. Image should be displayed in preview window of dialog.
When "Save" button pressed system should download file with svg image content.
Export svg from ketcher api
Implement new api methods:
Image should be scaled to fit all drawn structures with small offset from image borders.
Elements should not be interactive, so all corresponding styles should not be included in export.
Elements should be displayed in same as they drawn on canvas according selected mode(flex/snake/sequence).
Temporary objects(monomer preview near cursor, css cursor, selectors and e.t.c) should not be included into image.
The text was updated successfully, but these errors were encountered: