cytoscape
Advanced tools
Comparing version 3.18.2 to 3.19.0
{ | ||
"build/cytoscape.umd.js": { | ||
"bundled": 936046, | ||
"minified": 348268, | ||
"gzipped": 108401 | ||
"bundled": 936254, | ||
"minified": 348402, | ||
"gzipped": 108444 | ||
}, | ||
"build/cytoscape.cjs.js": { | ||
"bundled": 862937, | ||
"minified": 367556, | ||
"gzipped": 110729 | ||
"bundled": 863135, | ||
"minified": 367690, | ||
"gzipped": 110764 | ||
}, | ||
"build/cytoscape.esm.js": { | ||
"bundled": 862764, | ||
"minified": 367413, | ||
"gzipped": 110690, | ||
"bundled": 862962, | ||
"minified": 367547, | ||
"gzipped": 110724, | ||
"treeshaked": { | ||
"rollup": { | ||
"code": 342916, | ||
"code": 343050, | ||
"import_statements": 51 | ||
}, | ||
"webpack": { | ||
"code": 344304 | ||
"code": 344438 | ||
} | ||
@@ -27,12 +27,12 @@ } | ||
"build/cytoscape.esm.min.js": { | ||
"bundled": 348073, | ||
"minified": 347575, | ||
"gzipped": 108220, | ||
"bundled": 348207, | ||
"minified": 347709, | ||
"gzipped": 108257, | ||
"treeshaked": { | ||
"rollup": { | ||
"code": 347069, | ||
"code": 347203, | ||
"import_statements": 0 | ||
}, | ||
"webpack": { | ||
"code": 348357 | ||
"code": 348491 | ||
} | ||
@@ -39,0 +39,0 @@ } |
{ | ||
"name": "cytoscape", | ||
"version": "3.18.2", | ||
"version": "3.19.0", | ||
"license": "MIT", | ||
@@ -163,3 +163,3 @@ "description": "Graph theory (a.k.a. network) library for analysis and visualisation", | ||
"rollup": "^2.8.2", | ||
"rollup-plugin-license": "^2.0.0", | ||
"rollup-plugin-license": "^2.3.0", | ||
"rollup-plugin-size-snapshot": "^0.11.0", | ||
@@ -166,0 +166,0 @@ "rollup-plugin-terser": "^5.3.0" |
@@ -14,3 +14,3 @@ <img style="width: 200px; height: 200px;" src="https://raw.githubusercontent.com/cytoscape/cytoscape.js/unstable/documentation/img/cytoscape-logo.png" width="200" height="200"></img> | ||
[![Download](https://img.shields.io/npm/v/cytoscape.svg?label=Download)](https://github.com/cytoscape/cytoscape.js/tree/master/dist) | ||
[![Extensions](https://img.shields.io/badge/Extensions-60-blue.svg)](https://js.cytoscape.org/#extensions) | ||
[![Extensions](https://img.shields.io/badge/Extensions-61-blue.svg)](https://js.cytoscape.org/#extensions) | ||
[![npm installs](https://img.shields.io/npm/dm/cytoscape.svg?label=npm%20installs)](https://www.npmjs.com/package/cytoscape) | ||
@@ -17,0 +17,0 @@ [![master branch tests](https://img.shields.io/travis/cytoscape/cytoscape.js/master.svg?label=master%20branch)](https://travis-ci.org/cytoscape/cytoscape.js) |
@@ -702,2 +702,3 @@ import * as is from '../../../is'; | ||
cy.panBy( deltaP ); | ||
cy.emit('dragpan'); | ||
@@ -1037,4 +1038,2 @@ r.hoverData.dragged = true; | ||
var wheelHandler = function( e ){ | ||
if( r.scrollingPage ){ return; } // while scrolling, ignore wheel-to-zoom | ||
@@ -1093,2 +1092,3 @@ | ||
} ); | ||
cy.emit(e.type === 'gesturechange' ? 'pinchzoom' : 'scrollzoom'); | ||
} | ||
@@ -1613,2 +1613,3 @@ | ||
} ); | ||
cy.emit('pinchzoom'); | ||
@@ -1752,2 +1753,3 @@ distance1 = distance2; | ||
} ); | ||
cy.emit('dragpan'); | ||
@@ -1761,2 +1763,3 @@ } else if( isOverThresholdDrag ){ | ||
} ); | ||
cy.emit('dragpan'); | ||
@@ -1763,0 +1766,0 @@ if( start ){ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4256279
107207