d3-sankey-multipart
v1.0.0
Published
A sankey diagram that also generates the drawing code necessary for multipart connections between nodes.
Downloads
6
Maintainers
Readme
Multipart Sankey Diagrams
Extended from Mike Bostock's original d3.sankey.
npm install d3-sankey-multipart
var sankey = d3.sankey()
.size([width, height])
.nodeWidth(15)
.nodePadding(10)
.nodes(energy.nodes)
.links(energy.links)
.layout(32);
var path = sankey.link();