onegpy.solutions.node.calc_node_depth

onegpy.solutions.node.calc_node_depth(node)[source]

Calculate the depth of nodes which is following under the target node. :param node: node object. target node. :return: int. calculated depth.