code: function center(node) {
    return node.targetLinks.length ? node.depth : node.sourceLinks.length ? min(node.sourceLinks, targetDepth) - 1 : 0;
  }
docs: The depth of a node when the nodeAlign (align) is set to 'center'