(d)
| 66 | } |
| 67 | |
| 68 | function collapse(d) { |
| 69 | if (d.children) { |
| 70 | d._children = d.children; |
| 71 | d._children.forEach(collapse); |
| 72 | d.children = null; |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | function findMaxDepth(nodes) { |
| 77 | return _.max(nodes.map(function(node, index) { |
nothing calls this directly
no outgoing calls
no test coverage detected