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

SVG export for large topologies? #555

Closed
faddat opened this issue Oct 11, 2015 · 4 comments
Closed

SVG export for large topologies? #555

faddat opened this issue Oct 11, 2015 · 4 comments
Labels
component/ui Predominantly a front-end issue; most/all of the work can be completed by a f/e developer
Milestone

Comments

@faddat
Copy link
Contributor

faddat commented Oct 11, 2015

Common displays aren't large enough to display all of the detail that scope can expose. Most computers aren't powerful enough to render this detail smoothly, so:

  • .svg exports
  • a way for users to select how much they'd like their PC to be abused by scope (slider?)
@peterbourgon
Copy link
Contributor

.svg export is an interesting idea. @davkal, is it technically feasible?

The way Scope chooses to make more or less information visible is via topologies of different levels of abstraction. Further, I don't see an immediately obvious, user-friendly way to scale detail up and down based on any parameter, manual or automatic. That said, we're definitely looking in to all kinds of ways to increase the information density for large infrastructures. Thanks for the ideas, we'll put them in the pot!

@peterbourgon peterbourgon changed the title High Resolution Snaps SVG export for large topologies? Oct 12, 2015
@davkal
Copy link
Contributor

davkal commented Oct 13, 2015

SVG exports are technically possible since it's just a DOM subtree, but we need a way to inline the relevant CSS. Without CSS the graph looks quite poor.

@davkal
Copy link
Contributor

davkal commented Oct 13, 2015

In case you mean export SVG to PNG, we could try html2canvas.

@tomwilkie tomwilkie added this to the Post-1.0 milestone Dec 1, 2015
@foot foot added the component/ui Predominantly a front-end issue; most/all of the work can be completed by a f/e developer label Jan 4, 2016
davkal added a commit that referenced this issue Feb 24, 2016
* applies CSS styles inline
* exports SVG chart node
* injects A tag to download
* based on SVG-crowbar

Fixes #555
@faddat
Copy link
Contributor Author

faddat commented Feb 25, 2016

It's that button! I'd forgotten! :D!!!!!!!!
On Feb 25, 2016 8:09 PM, "David" notifications@github.com wrote:

Closed #555 #555 via #1027
#1027.


Reply to this email directly or view it on GitHub
#555 (comment).

@tomwilkie tomwilkie modified the milestones: 0.13.0, Post-1.0 Feb 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/ui Predominantly a front-end issue; most/all of the work can be completed by a f/e developer
Projects
None yet
Development

No branches or pull requests

5 participants