| 6149 | return children && children.length ? d3_layout_clusterLeft(children[0]) : node; |
| 6150 | } |
| 6151 | function d3_layout_clusterRight(node) { |
| 6152 | var children = node.children, n; |
| 6153 | return children && (n = children.length) ? d3_layout_clusterRight(children[n - 1]) : node; |
| 6154 | } |
| 6155 | d3.layout.treemap = function() { |
| 6156 | var hierarchy = d3.layout.hierarchy(), round = Math.round, size = [ 1, 1 ], padding = null, pad = d3_layout_treemapPadNull, sticky = false, stickies, mode = "squarify", ratio = .5 * (1 + Math.sqrt(5)); |
| 6157 | function scale(children, k) { |