cytoscape
Advanced tools
Comparing version 3.20.1 to 3.20.2
{ | ||
"build/cytoscape.umd.js": { | ||
"bundled": 941704, | ||
"minified": 350892, | ||
"gzipped": 109101 | ||
"bundled": 942190, | ||
"minified": 351065, | ||
"gzipped": 109139 | ||
}, | ||
"build/cytoscape.cjs.js": { | ||
"bundled": 868305, | ||
"minified": 370338, | ||
"gzipped": 111439 | ||
"bundled": 868771, | ||
"minified": 370511, | ||
"gzipped": 111479 | ||
}, | ||
"build/cytoscape.esm.js": { | ||
"bundled": 868132, | ||
"minified": 370195, | ||
"gzipped": 111404, | ||
"bundled": 868598, | ||
"minified": 370368, | ||
"gzipped": 111441, | ||
"treeshaked": { | ||
"rollup": { | ||
"code": 345544, | ||
"code": 345717, | ||
"import_statements": 51 | ||
}, | ||
"webpack": { | ||
"code": 346928 | ||
"code": 347101 | ||
} | ||
@@ -27,12 +27,12 @@ } | ||
"build/cytoscape.esm.min.js": { | ||
"bundled": 350697, | ||
"minified": 350199, | ||
"gzipped": 108923, | ||
"bundled": 350870, | ||
"minified": 350372, | ||
"gzipped": 108958, | ||
"treeshaked": { | ||
"rollup": { | ||
"code": 349693, | ||
"code": 349866, | ||
"import_statements": 0 | ||
}, | ||
"webpack": { | ||
"code": 350981 | ||
"code": 351154 | ||
} | ||
@@ -39,0 +39,0 @@ } |
{ | ||
"name": "cytoscape", | ||
"version": "3.20.1", | ||
"version": "3.20.2", | ||
"license": "MIT", | ||
@@ -110,3 +110,2 @@ "description": "Graph theory (a.k.a. network) library for analysis and visualisation", | ||
"release": "run-s copyright dist docs", | ||
"postpublish": "run-s docs:push", | ||
"watch": "run-s watch:fast", | ||
@@ -113,0 +112,0 @@ "watch:sync": "livereload \"build, debug\" -w 500", |
@@ -473,2 +473,15 @@ import * as is from '../../is'; | ||
let underlayOpacity = 0; | ||
let underlayPadding = 0; | ||
if( styleEnabled && options.includeUnderlays ){ | ||
underlayOpacity = ele.pstyle( 'underlay-opacity' ).value; | ||
if( underlayOpacity !== 0 ){ | ||
underlayPadding = ele.pstyle( 'underlay-padding' ).value; | ||
} | ||
} | ||
let padding = Math.max(overlayPadding, underlayPadding); | ||
let w = 0; | ||
@@ -659,3 +672,3 @@ let wHalf = 0; | ||
updateBounds( bounds, ex1 - overlayPadding, ey1 - overlayPadding, ex2 + overlayPadding, ey2 + overlayPadding ); | ||
updateBounds( bounds, ex1 - padding, ey1 - padding, ex2 + padding, ey2 + padding ); | ||
} | ||
@@ -815,2 +828,3 @@ | ||
includeOverlays: true, | ||
includeUnderlays: true, | ||
useCache: true | ||
@@ -817,0 +831,0 @@ }; |
@@ -19,5 +19,5 @@ import * as util from '../util'; | ||
}; | ||
tokens.variable = '(?:[\\w-]|(?:\\\\' + tokens.metaChar + '))+'; // a variable name | ||
tokens.variable = '(?:[\\w-.]|(?:\\\\' + tokens.metaChar + '))+'; // a variable name can have letters, numbers, dashes, and periods | ||
tokens.className = '(?:[\\w-]|(?:\\\\' + tokens.metaChar + '))+'; // a class name has the same rules as a variable except it can't have a '.' in the name | ||
tokens.value = tokens.string + '|' + tokens.number; // a value literal, either a string or number | ||
tokens.className = tokens.variable; // a class name (follows variable conventions) | ||
tokens.id = tokens.variable; // an element id (follows variable conventions) | ||
@@ -24,0 +24,0 @@ |
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
4284243
107805