Skip to content
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 network as PNG/JPEG high resolution #255

Closed
SamFritz opened this Issue Jan 30, 2019 · 2 comments

Comments

Projects
None yet
3 participants
@SamFritz
Copy link
Member

SamFritz commented Jan 30, 2019

Is your feature request related to a problem? Please describe.
Feature request: if network image in collection page can be downloaded as a high resolution PNG/JPEG. This could allow users ability to incorporate basic network graph into presentations/posters without having to jump over to another tool.

Describe the solution you'd like
@greebie will take a look at whether this could be possible. Looking at snapshot feature

@greebie

This comment has been minimized.

Copy link
Contributor

greebie commented Jan 31, 2019

Solution will be something like this:

(on click):
getElementsByClassName ("sigma-scene")[0].toDataURL('image/png')
"Do you want to save the file?" alert.
Then download the file.
I am going to assume that the correct default is 300 dpi (print quality)

I can imagine some UI being helpful here, as I can imagine people wanting to right-click. When you do that you get a "save image" request, but it does a sigma save image thing which is not that helpful, frankly (try it and be disappointed).

@ianmilligan1

This comment has been minimized.

Copy link
Member

ianmilligan1 commented Jan 31, 2019

Thanks for this @greebie. So would this be a button or something in the sigma frame?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.