I wanted to include the space between the nodes vertically, and for this I found that d3 has nodeSize()forward from v3, I find similar questions about the stack and fuddles, and everything works fine there. But in my case, this nodeSize()does not work.
I created a js script that includes my code, but the d3 graph is not exactly the same as mine in my dev server, which includes angular and js calls, but I think this will not affect this problem size. So you can understand what I did and why it nodeSize()doesnβt work
http://jsfiddle.net/9428byn7/
Edited by:
I just find out that nodeSize is also not working in my example http://bl.ocks.org/robschmuecker/7880033
maybe because they use viewHieght and viewWidth, any solution?
source
share