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

Function computeHeight

external/.d3.js:13213–13217  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

13211}
13212
13213function computeHeight(node) {
13214 var height = 0;
13215 do node.height = height;
13216 while ((node = node.parent) && (node.height < ++height));
13217}
13218
13219function Node$1(data) {
13220 this.data = data;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected