@property<EOL><INDENT>def depth(self):<DEDENT>
return len(self._path) - <NUM_LIT:1><EOL>
Number of edges to the root `Node`.

>>> from anytree import Node
>>> udo = Node("Udo")
>>> marc = Node("Marc", parent=udo)
>>> lian = Node("Lian", parent=marc)
>>> udo.depth
0
>>> marc.depth
1
>>> lian.depth
2