static/js/org/cytoscape.js
function(node, dragElements) {
      node._private.grabbed = true;
      node._private.rscratch.inDragLayer = true;

      dragElements.push(node);

      for (var i=0;i<node._private.edges.length;i++) {
        node._private.edges[i]._private.rscratch.inDragLayer = true;
      }

      //node.trigger(new $$.Event(e, {type: 'grab'}));
    }
function(node, dragElements) {
      node._private.grabbed = true;
      node._private.rscratch.inDragLayer = true;

      dragElements.push(node);

      for (var i=0;i<node._private.edges.length;i++) {
        node._private.edges[i]._private.rscratch.inDragLayer = true;
      }

      //node.trigger(new $$.Event(e, {type: 'grab'}));
    }
function ( node , dragElements ) { node . _private . grabbed = true ; node . _private . rscratch . inDragLayer = true ; dragElements . push ( node ) ; for ( var i = 0 ; i < node . _private . edges . length ; i ++ ) { node . _private . edges [ i ] . _private . rscratch . inDragLayer = true ; } //node.trigger(new $$.Event(e, {type: 'grab'})); }
adds the given nodes, and its edges to the drag layer
adds the given nodes and its edges to the drag layer