(d, i)
| 5825 | return 1 + d; |
| 5826 | } |
| 5827 | function partition(d, i) { |
| 5828 | var nodes = hierarchy.call(this, d, i); |
| 5829 | position(nodes[0], 0, size[0], size[1] / depth(nodes[0])); |
| 5830 | return nodes; |
| 5831 | } |
| 5832 | partition.size = function(x) { |
| 5833 | if (!arguments.length) return size; |
| 5834 | size = x; |
no test coverage detected