MCPcopy Create free account
hub / github.com/idank/explainshell / d3_layout_clusterLeft

Function d3_layout_clusterLeft

explainshell/web/static/js/d3.v3.js:6147–6150  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

6145 }, 0) / children.length;
6146 }
6147 function d3_layout_clusterLeft(node) {
6148 var children = node.children;
6149 return children && children.length ? d3_layout_clusterLeft(children[0]) : node;
6150 }
6151 function d3_layout_clusterRight(node) {
6152 var children = node.children, n;
6153 return children && (n = children.length) ? d3_layout_clusterRight(children[n - 1]) : node;

Callers 1

clusterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected