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/import graph as JSON #3

Closed
ryepup opened this issue Jan 3, 2016 · 0 comments
Closed

export/import graph as JSON #3

ryepup opened this issue Jan 3, 2016 · 0 comments

Comments

@ryepup
Copy link
Owner

ryepup commented Jan 3, 2016

Add options to save a graph as a JSON file, and then load one back up, using HTML5 file stuff.

ryepup added a commit that referenced this issue Jan 7, 2016
* break out a `saveAs` directive to cover downloading the graph as
  different formats.
* combine `renderer` and `exporter`, the split  wasn't adding anything

Looked at using `createObjectURL`, but this solution ended up a little
simpler. The stackoverflow examples never cleaned up the object urls,
and you're supposed to call `revokeObjectURL` on each one you create.

refs #3
@ryepup ryepup closed this as completed in b599315 Jan 7, 2016
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

No branches or pull requests

1 participant