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

Node customization #10

Open
verhulststefanie opened this issue Jan 5, 2017 · 4 comments
Open

Node customization #10

verhulststefanie opened this issue Jan 5, 2017 · 4 comments

Comments

@verhulststefanie
Copy link

For my application purpose it is required that the node values are displayed (tilted) inside the nodes.
Ideally, I would like to be able to customize the diagram more or less as in the tool below, but with python.
http://sankey.csaladen.es/
Screenshot from tool;
image

I don't see the possibility to do this as of yet, could this be possible in the future?

@ricklupton
Copy link
Owner

Hi,

Sorry for taking so long to reply. This might be possible in future, but it would be done as part of d3-sankey-diagram which ipysankeywidget wraps. I'll move this issue to there.

@philiphdf
Copy link

Hello,
Are there any updates on this work stream? If so, where can I find an example of the implementation?
Thanks!

@ricklupton
Copy link
Owner

Hi,

I've just added this to d3-sankey-diagram (example) but it hasn't yet been exposed in ipysankeywidget.

Contributions are welcome if you (or anyone else) would like to have a go at this! It would need a node_width trait to set the node width, and perhaps a value_format option too, with the widget Javascript code updated following the example above.

@PaulWestenthanner
Copy link

Hi,
do I see this correct, that with this update it's possible to show percent values in the flow-charts? This would be a great feature as well.

Cheers,
Paul

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants