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

Function d3_layout_treeRight

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

Source from the content-addressed store, hash-verified

5889 return children && children.length ? children[0] : node._tree.thread;
5890 }
5891 function d3_layout_treeRight(node) {
5892 var children = node.children, n;
5893 return children && (n = children.length) ? children[n - 1] : node._tree.thread;
5894 }
5895 function d3_layout_treeSearch(node, compare) {
5896 var children = node.children;
5897 if (children && (n = children.length)) {

Callers 1

apportionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected