addon/utils/data-processor.js
function (depth) {
        this.set('depth', depth);

        depth++;
        this.get('inputs').forEach(function (input) {
          input.set('depth', depth);
        });
      }
function (depth) {
        this.set('depth', depth);

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