javascript - Get node position in D3 sankey diagram -


i'm using d3 plug-in make sankey diagram, , add labels above each column of nodes. this:enter image description here

is there function in sankey object can return location of nodes?

var sankey = d3.sankey()     .nodewidth(15)     .nodepadding(10)     .size([width, height]); 

i'm following pattern here: http://bost.ocks.org/mike/sankey/


Comments

Popular posts from this blog

javascript - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -