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

Generate the Sankey programmatically #37

Open
Nemecsek opened this issue Apr 18, 2018 · 0 comments
Open

Generate the Sankey programmatically #37

Nemecsek opened this issue Apr 18, 2018 · 0 comments

Comments

@Nemecsek
Copy link

As I am a less-than-newbie in JS (I work with Python+Flask), it is difficult for me to understand how to use SankeyMatic to generate graphs programmatically (not manually) or even if it provides such a feature.

The ideal would be to read a JSON file with the whole configuration and generate the sankey. Is this possible?

At the moment I stripped down http://sankeymatic.com/build/ hiding all the setting fields:
i.e. I am setting canvas_width with <input id="canvas_width" type="hidden" value="600">
With Flask it is easy to fill out the HTML template with the proper parameters, but I am searching for a cleaner way to do it.

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