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

Function tree_size

external/.d3.js:8729–8735  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8727}
8728
8729function tree_size() {
8730 var size = 0;
8731 this.visit(function(node) {
8732 if (!node.length) do ++size; while (node = node.next)
8733 });
8734 return size;
8735}
8736
8737function tree_visit(callback) {
8738 var quads = [], q, node = this._root, child, x0, y0, x1, y1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected