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

Function d3_layout_treeSeparation

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

Source from the content-addressed store, hash-verified

5882 return d3_layout_hierarchyRebind(tree, hierarchy);
5883 };
5884 function d3_layout_treeSeparation(a, b) {
5885 return a.parent == b.parent ? 1 : 2;
5886 }
5887 function d3_layout_treeLeft(node) {
5888 var children = node.children;
5889 return children && children.length ? children[0] : node._tree.thread;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected