depth

val depth: Int

Distance is the number of edges along the shortest path between two nodes.

Return

The distance between current node and the root.