I wanted to inc the space between nodes vertically and for that I find out that d3 have nodeSize()
from v3 onward , I find out similar questions on stack and fuddles and there everything works fine. But in my case this nodeSize()
is not working.
I have created a js fiddle which includes my code but d3 graph is not exactly the same as i have in my dev server bec that includes angular and js calls too but I think that will not affect this size problem . So you can get an idea what I did and why nodeSize()
is not working
Edited :
I just find out that nodeSize is also not working in their example http://bl.ocks.org/robschmuecker/7880033
may be bec they are using viewHieght and viewWidth , any solution ?