cytoscape
Advanced tools
Comparing version 3.5.6 to 3.5.7
{ | ||
"build/cytoscape.umd.js": { | ||
"bundled": 899745, | ||
"minified": 333140, | ||
"gzipped": 103676 | ||
"bundled": 903730, | ||
"minified": 333306, | ||
"gzipped": 103604 | ||
}, | ||
"build/cytoscape.cjs.js": { | ||
"bundled": 828963, | ||
"minified": 350400, | ||
"gzipped": 105733 | ||
"bundled": 832342, | ||
"minified": 353485, | ||
"gzipped": 106377 | ||
}, | ||
"build/cytoscape.esm.js": { | ||
"bundled": 828790, | ||
"minified": 350257, | ||
"gzipped": 105693, | ||
"bundled": 832169, | ||
"minified": 353342, | ||
"gzipped": 106338, | ||
"treeshaked": { | ||
"rollup": { | ||
"code": 327836, | ||
"code": 327855, | ||
"import_statements": 51 | ||
}, | ||
"webpack": { | ||
"code": 329703 | ||
"code": 329863 | ||
} | ||
@@ -24,0 +24,0 @@ } |
{ | ||
"name": "cytoscape", | ||
"version": "3.5.6", | ||
"version": "3.5.7", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Graph theory (a.k.a. network) library for analysis and visualisation", |
@@ -299,4 +299,4 @@ import * as is from '../../is'; | ||
let lh = labelHeight + 2 * padding; | ||
let lw = labelWidth + 2 * padding; | ||
let lh = labelHeight; | ||
let lw = labelWidth; | ||
let lw_2 = lw / 2; | ||
@@ -348,6 +348,6 @@ let lh_2 = lh / 2; | ||
// shift by margin and expand by outline and border | ||
lx1 += marginX - Math.max( outlineWidth, halfBorderWidth ); | ||
lx2 += marginX + Math.max( outlineWidth, halfBorderWidth ); | ||
ly1 += marginY - Math.max( outlineWidth, halfBorderWidth ); | ||
ly2 += marginY + Math.max( outlineWidth, halfBorderWidth ); | ||
lx1 += marginX - Math.max( outlineWidth, halfBorderWidth ) - padding; | ||
lx2 += marginX + Math.max( outlineWidth, halfBorderWidth ) + padding; | ||
ly1 += marginY - Math.max( outlineWidth, halfBorderWidth ) - padding; | ||
ly2 += marginY + Math.max( outlineWidth, halfBorderWidth ) + padding; | ||
@@ -354,0 +354,0 @@ // always store the unrotated label bounds separately |
@@ -284,2 +284,4 @@ import window from '../window'; | ||
cy.invalidateSize(); | ||
cy.initRenderer( rOpts ); | ||
@@ -286,0 +288,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
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
3763925
102263