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

Function d3_layout_hierarchySort

explainshell/web/static/js/d3.v3.js:5474–5476  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

5472 return d.value;
5473 }
5474 function d3_layout_hierarchySort(a, b) {
5475 return b.value - a.value;
5476 }
5477 function d3_layout_hierarchyLinks(nodes) {
5478 return d3.merge(nodes.map(function(parent) {
5479 return (parent.children || []).map(function(child) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected