d3-sankey-diagram icon indicating copy to clipboard operation
d3-sankey-diagram copied to clipboard

Is it possible to use the params data to move nodes

Open ludi81 opened this issue 2 years ago • 1 comments

Hi,

In the original d3-sankey it is possible to store specific position of each nodes, as you can see in https://sankey.csaladen.es/.

The data structure uses the following format:

params":[0.5,0.25,0,0,0],"fixedlayout":[[400.5,218.78016596921236],[0,497.0588235294118],[0,61.70588235294119],[587.25,0],[195.75,274.87527492724956],[790,0],[581.75,0]]}

Can this be used in the d3-sankey-diagram?

ludi81 avatar Jul 06 '22 19:07 ludi81

Hello,

I am interested in this too. Can nodes skip a column without having a link to the nodes in the next column?

Thank you!

ioanachi avatar Aug 08 '22 07:08 ioanachi