(vim, node, ancestor)
| 5948 | node.mod += shift; |
| 5949 | } |
| 5950 | function d3_layout_treeAncestor(vim, node, ancestor) { |
| 5951 | return vim._tree.ancestor.parent == node.parent ? vim._tree.ancestor : ancestor; |
| 5952 | } |
| 5953 | d3.layout.pack = function() { |
| 5954 | var hierarchy = d3.layout.hierarchy().sort(d3_layout_packSort), padding = 0, size = [ 1, 1 ]; |
| 5955 | function pack(d, i) { |