cytoscape-edgehandles
Advanced tools
Comparing version 2.6.3 to 2.7.0
@@ -410,2 +410,4 @@ /*! | ||
handleLineWidth: 1, // width of handle line in pixels | ||
handleOutlineColor: '#000000', // the colour of the handle outline | ||
handleOutlineWidth: 0, // the width of the handle outline in pixels | ||
handleNodes: 'node', // selector/filter function for whether edges can be made from a given node | ||
@@ -690,3 +692,3 @@ hoverDelay: 150, // time spend over a target node before it is considered a target selection | ||
ctx.fillStyle = options().handleColor; | ||
ctx.strokeStyle = options().handleColor; | ||
ctx.strokeStyle = options().handleOutlineColor; | ||
@@ -698,2 +700,7 @@ ctx.beginPath(); | ||
if(options().handleOutlineWidth) { | ||
ctx.lineWidth = options().handleLineWidth; | ||
ctx.stroke(); | ||
} | ||
if(options().handleIcon){ | ||
@@ -700,0 +707,0 @@ var icon = options().handleIcon; |
{ | ||
"name": "cytoscape-edgehandles", | ||
"version": "2.6.3", | ||
"version": "2.7.0", | ||
"description": "Edge creation extension for Cytoscape.js", | ||
@@ -5,0 +5,0 @@ "main": "cytoscape-edgehandles.js", |
Sorry, the diff of this file is not supported yet
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
92664
1252