code: def _treeiter(node):
      yield node
      if not node.is_leaf:
          for n in _treeiter(node.left):
              yield n
          for n in _treeiter(node.right):
              yield n
  
file_path: eli5/eli5/sklearn/treeinspect.py
imports: from __future__ import absolute_import, division
  from sklearn.base import ClassifierMixin
  from sklearn.tree import _tree, export_graphviz
  from eli5.base import TreeInfo, NodeInfo
label_desc: Use image node_id 7 for calling a global function with example usage: _treeiter(node) without return types