ipysankeywidget
ipysankeywidget copied to clipboard
Node customization
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;
I don't see the possibility to do this as of yet, could this be possible in the future?
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.
Hello, Are there any updates on this work stream? If so, where can I find an example of the implementation? Thanks!
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.
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