cytoscape-edgehandles
Advanced tools
Comparing version 2.10.0 to 2.10.1
@@ -197,3 +197,3 @@ /*! | ||
// fired when edgehandles interaction is stopped (either complete with added edges or incomplete) | ||
}, | ||
}, | ||
cancel: function( sourceNode, renderedPosition ) { | ||
@@ -852,4 +852,4 @@ // fired when edgehandles are cancelled ( incomplete - nothing has been added ) - renderedPosition is where the edgehandle was released | ||
mx = x; | ||
my = y; | ||
mx = x; | ||
my = y; | ||
@@ -975,4 +975,4 @@ if( options().handleLineType !== 'ghost' ) { | ||
mx = x; | ||
my = y; | ||
mx = x; | ||
my = y; | ||
@@ -1103,3 +1103,3 @@ if( options().handleLineType !== 'ghost' ) { | ||
if( ( cxtOk || tapOk ) && sourceNode ) { | ||
var rpos = e.cyRenderedPosition; | ||
var rpos = e.renderedPosition || e.cyRenderedPosition; | ||
@@ -1106,0 +1106,0 @@ drawLine( hx, hy, rpos.x, rpos.y ); |
{ | ||
"name": "cytoscape-edgehandles", | ||
"version": "2.10.0", | ||
"version": "2.10.1", | ||
"description": "Edge creation extension for Cytoscape.js", | ||
@@ -5,0 +5,0 @@ "main": "cytoscape-edgehandles.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
86786
2