dist/js/jquery.orgchart.js
function ($node) {
      var $lowerLevel = $node.closest('tr').siblings();
      this.stopAjax($lowerLevel.last());
      var $animatedNodes = $lowerLevel.last().find('.node').filter(this.isVisibleNode.bind(this));
      var isVerticalDesc = $lowerLevel.last().is('.verticalNodes') ? true : false;
      if (!isVerticalDesc) {
        $animatedNodes.closest('table').closest('tr').prevAll('.lines').css('visibility', 'hidden');
      }
      this.repaint($animatedNodes.get(0));
      $animatedNodes.addClass('sliding slide-up').eq(0).one('transitionend', { 'animatedNodes': $animatedNodes, 'lowerLevel': $lowerLevel, 'isVerticalDesc': isVerticalDesc, 'node': $node }, this.hideChildrenEnd.bind(this));
    }
function ($node) {
      var $lowerLevel = $node.closest('tr').siblings();
      this.stopAjax($lowerLevel.last());
      var $animatedNodes = $lowerLevel.last().find('.node').filter(this.isVisibleNode.bind(this));
      var isVerticalDesc = $lowerLevel.last().is('.verticalNodes') ? true : false;
      if (!isVerticalDesc) {
        $animatedNodes.closest('table').closest('tr').prevAll('.lines').css('visibility', 'hidden');
      }
      this.repaint($animatedNodes.get(0));
      $animatedNodes.addClass('sliding slide-up').eq(0).one('transitionend', { 'animatedNodes': $animatedNodes, 'lowerLevel': $lowerLevel, 'isVerticalDesc': isVerticalDesc, 'node': $node }, this.hideChildrenEnd.bind(this));
    }
function ( $node ) { var $lowerLevel = $node . closest ( 'tr' ) . siblings ( ) ; this . stopAjax ( $lowerLevel . last ( ) ) ; var $animatedNodes = $lowerLevel . last ( ) . find ( '.node' ) . filter ( this . isVisibleNode . bind ( this ) ) ; var isVerticalDesc = $lowerLevel . last ( ) . is ( '.verticalNodes' ) ? true : false ; if ( ! isVerticalDesc ) { $animatedNodes . closest ( 'table' ) . closest ( 'tr' ) . prevAll ( '.lines' ) . css ( 'visibility' , 'hidden' ) ; } this . repaint ( $animatedNodes . get ( 0 ) ) ; $animatedNodes . addClass ( 'sliding slide-up' ) . eq ( 0 ) . one ( 'transitionend' , { 'animatedNodes' : $animatedNodes , 'lowerLevel' : $lowerLevel , 'isVerticalDesc' : isVerticalDesc , 'node' : $node } , this . hideChildrenEnd . bind ( this ) ) ; }
recursively hide the descendant nodes of the specified node
recursively hide the descendant nodes of the specified node