# xarray.DataTree.subtree

#### *property* DataTree.subtree

Iterate over all nodes in this tree, including both self and all descendants.

Iterates breadth-first.

#### SEE ALSO
[`DataTree.subtree_with_keys`](xarray.DataTree.subtree_with_keys.html.md#xarray.DataTree.subtree_with_keys), [`DataTree.descendants`](xarray.DataTree.descendants.html.md#xarray.DataTree.descendants), [`group_subtrees`](xarray.group_subtrees.html.md#xarray.group_subtrees)
