MCPcopy Create free account
hub / github.com/breck7/scroll / node_sort

Function node_sort

external/.d3.js:13080–13086  ·  view source on GitHub ↗
(compare)

Source from the content-addressed store, hash-verified

13078}
13079
13080function node_sort(compare) {
13081 return this.eachBefore(function(node) {
13082 if (node.children) {
13083 node.children.sort(compare);
13084 }
13085 });
13086}
13087
13088function node_path(end) {
13089 var start = this,

Callers

nothing calls this directly

Calls 1

sortMethod · 0.80

Tested by

no test coverage detected