import e from "../../../../d3-array@2.12.1/node_modules/d3-array/src/min.js";
function n(t) {
  return t.target.depth;
}
function u(t) {
  return t.depth;
}
function h(t, r) {
  return r - 1 - t.height;
}
function c(t, r) {
  return t.sourceLinks.length ? t.depth : r - 1;
}
function f(t) {
  return t.targetLinks.length ? t.depth : t.sourceLinks.length ? e(t.sourceLinks, n) - 1 : 0;
}
export {
  f as center,
  c as justify,
  u as left,
  h as right
};
