(node)
| 5929 | visit(node, null); |
| 5930 | } |
| 5931 | function d3_layout_treeShift(node) { |
| 5932 | var shift = 0, change = 0, children = node.children, i = children.length, child; |
| 5933 | while (--i >= 0) { |
| 5934 | child = children[i]._tree; |
| 5935 | child.prelim += shift; |
| 5936 | child.mod += shift; |
| 5937 | shift += child.shift + (change += child.change); |
| 5938 | } |
| 5939 | } |
| 5940 | function d3_layout_treeMove(ancestor, node, shift) { |
| 5941 | ancestor = ancestor._tree; |
| 5942 | node = node._tree; |