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

Function d3_layout_treeAncestor

explainshell/web/static/js/d3.v3.js:5950–5952  ·  view source on GitHub ↗
(vim, node, ancestor)

Source from the content-addressed store, hash-verified

5948 node.mod += shift;
5949 }
5950 function d3_layout_treeAncestor(vim, node, ancestor) {
5951 return vim._tree.ancestor.parent == node.parent ? vim._tree.ancestor : ancestor;
5952 }
5953 d3.layout.pack = function() {
5954 var hierarchy = d3.layout.hierarchy().sort(d3_layout_packSort), padding = 0, size = [ 1, 1 ];
5955 function pack(d, i) {

Callers 1

apportionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected