# File lib/tree.rb, line 557
    def nodeDepth
      return 0 if isRoot?
      1 + parent.nodeDepth
    end