Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cytoscape-edge-bend-editing

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cytoscape-edge-bend-editing - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "cytoscape-edge-bend-editing",
"version": "1.0.1",
"version": "1.0.2",
"description": "A Cytoscape.js extension enables editing edge bend points",

@@ -5,0 +5,0 @@ "main": "cytoscape-edge-bend-editing.js",

@@ -49,7 +49,7 @@ cytoscape-edge-bend-editing

`cy.expandCollapse(options)`
`cy.edgeBendEditing(options)`
To initialize with options.
`ele.getSegmentPoints()`
Returns the center coordinates of segment points.
Returns the coordinates of segment points (Returns undefined is curve style is not segments).

@@ -56,0 +56,0 @@ ## Default Options

@@ -110,2 +110,7 @@ var bendPointUtilities = {

getSegmentPoints: function(edge) {
if( edge.css('curve-style') !== 'segments' ) {
return undefined;
}
var segpts = [];

@@ -112,0 +117,0 @@

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc