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

Function d3_layout_clusterY

explainshell/web/static/js/d3.v3.js:6137–6141  ·  view source on GitHub ↗
(children)

Source from the content-addressed store, hash-verified

6135 return d3_layout_hierarchyRebind(cluster, hierarchy);
6136 };
6137 function d3_layout_clusterY(children) {
6138 return 1 + d3.max(children, function(child) {
6139 return child.y;
6140 });
6141 }
6142 function d3_layout_clusterX(children) {
6143 return children.reduce(function(x, child) {
6144 return x + child.x;

Callers 1

clusterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected