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

Function d3_layout_clusterRight

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

Source from the content-addressed store, hash-verified

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;
6154 }
6155 d3.layout.treemap = function() {
6156 var hierarchy = d3.layout.hierarchy(), round = Math.round, size = [ 1, 1 ], padding = null, pad = d3_layout_treemapPadNull, sticky = false, stickies, mode = "squarify", ratio = .5 * (1 + Math.sqrt(5));
6157 function scale(children, k) {

Callers 1

clusterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected