ipysankeywidget icon indicating copy to clipboard operation
ipysankeywidget copied to clipboard

Node customization

Open verhulststefanie opened this issue 8 years ago • 4 comments

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?

verhulststefanie avatar Jan 05 '17 15:01 verhulststefanie

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.

ricklupton avatar Apr 06 '17 10:04 ricklupton

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

philiphdf avatar Mar 05 '18 16:03 philiphdf

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.

ricklupton avatar Mar 05 '18 22:03 ricklupton

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

PaulWestenthanner avatar May 25 '18 09:05 PaulWestenthanner