code: function (depth) {
          this.set('depth', depth);
  
          depth++;
          this.get('inputs').forEach(function (input) {
            input.set('depth', depth);
          });
        }
docs: Sets depth of the vertex and all its input children
  @param depth {Number}