MCPcopy
hub / github.com/jipegit/OSXAuditor / partition

Function partition

d3-3.2.8/d3.js:5827–5831  ·  view source on GitHub ↗
(d, i)

Source from the content-addressed store, hash-verified

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;

Callers 1

partition-test.jsFile · 0.85

Calls 2

positionFunction · 0.85
depthFunction · 0.85

Tested by

no test coverage detected