cytoscape
Advanced tools
Comparing version 3.16.2 to 3.16.3
{ | ||
"build/cytoscape.umd.js": { | ||
"bundled": 933596, | ||
"minified": 347063, | ||
"gzipped": 108095 | ||
"bundled": 933823, | ||
"minified": 347137, | ||
"gzipped": 108105 | ||
}, | ||
"build/cytoscape.cjs.js": { | ||
"bundled": 860583, | ||
"minified": 366397, | ||
"gzipped": 110478 | ||
"bundled": 860802, | ||
"minified": 366471, | ||
"gzipped": 110488 | ||
}, | ||
"build/cytoscape.esm.js": { | ||
"bundled": 860410, | ||
"minified": 366254, | ||
"gzipped": 110440, | ||
"bundled": 860629, | ||
"minified": 366328, | ||
"gzipped": 110450, | ||
"treeshaked": { | ||
"rollup": { | ||
"code": 341711, | ||
"code": 341785, | ||
"import_statements": 51 | ||
}, | ||
"webpack": { | ||
"code": 343099 | ||
"code": 343173 | ||
} | ||
@@ -27,12 +27,12 @@ } | ||
"build/cytoscape.esm.min.js": { | ||
"bundled": 346868, | ||
"minified": 346370, | ||
"gzipped": 107913, | ||
"bundled": 346942, | ||
"minified": 346444, | ||
"gzipped": 107927, | ||
"treeshaked": { | ||
"rollup": { | ||
"code": 345864, | ||
"code": 345938, | ||
"import_statements": 0 | ||
}, | ||
"webpack": { | ||
"code": 347152 | ||
"code": 347226 | ||
} | ||
@@ -39,0 +39,0 @@ } |
{ | ||
"name": "cytoscape", | ||
"version": "3.16.2", | ||
"version": "3.16.3", | ||
"license": "MIT", | ||
@@ -130,3 +130,3 @@ "description": "Graph theory (a.k.a. network) library for analysis and visualisation", | ||
"docs:push": "gh-pages -d documentation", | ||
"benchmark": "run-s benchmark:single", | ||
"benchmark": "run-s benchmark:all", | ||
"benchmark:download": "download https://raw.githubusercontent.com/cytoscape/cytoscape.js/master/dist/cytoscape.cjs.js --out build --filename cytoscape.benchmark.js", | ||
@@ -133,0 +133,0 @@ "benchmark:all:exec": "node benchmark/all", |
@@ -13,3 +13,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-58-blue.svg)](https://js.cytoscape.org/#extensions) | ||
[![Extensions](https://img.shields.io/badge/Extensions-59-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) | ||
@@ -16,0 +16,0 @@ [![master branch tests](https://img.shields.io/travis/cytoscape/cytoscape.js/master.svg?label=master%20branch)](https://travis-ci.org/cytoscape/cytoscape.js) |
@@ -418,2 +418,6 @@ import * as math from '../../../../math'; | ||
if (this.calculateLabelDimensions(ele, text).width < maxW) { // the label already fits | ||
return text; | ||
} | ||
for( let i = 0; i < text.length; i++ ){ | ||
@@ -420,0 +424,0 @@ let widthWithNextCh = this.calculateLabelDimensions( ele, ellipsized + text[i] + ellipsis ).width; |
@@ -120,3 +120,4 @@ import * as is from '../../../is'; | ||
if( down.isNode() && down.isParent() ){ | ||
//if any parent node in event hierarchy isn't pannable, reject passthrough | ||
if( down.isNode() && down.isParent() && !down.pannable() ){ | ||
allowPassthrough = false; | ||
@@ -123,0 +124,0 @@ break; |
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
4242960
107010