MCPcopy Create free account
hub / github.com/breck7/scroll / prepare

Function prepare

external/.d3.js:8919–8926  ·  view source on GitHub ↗
(quad)

Source from the content-addressed store, hash-verified

8917 }
8918
8919 function prepare(quad) {
8920 if (quad.data) return quad.r = radii[quad.data.index];
8921 for (var i = quad.r = 0; i < 4; ++i) {
8922 if (quad[i] && quad[i].r > quad.r) {
8923 quad.r = quad[i].r;
8924 }
8925 }
8926 }
8927
8928 function initialize() {
8929 if (!nodes) return;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected