docs: function(id, removeRoot, method, onComplete) {
              var node = this.graph.getNode(id), subids = [];
              node.eachLevel(+!removeRoot, false, function(n) {
                  subids.push(n.id);
              });
              if(method == 'replot') {
                  this.op.removeNode(subids, $.extend({ type: 'replot' }, onComplete || {}));
              } else if (method == 'animate') {
                  this.op.removeNode(subids, $.extend({ type: 'fade:seq'}, onComplete || {}));
              }
          }