cytoscape-edge-bend-editing
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "cytoscape-edge-bend-editing", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A Cytoscape.js extension enables editing edge bend points", | ||
@@ -5,0 +5,0 @@ "main": "cytoscape-edge-bend-editing.js", |
@@ -73,3 +73,7 @@ cytoscape-edge-bend-editing | ||
// whether to start the plugin in the enabled state | ||
enabled: true | ||
enabled: true, | ||
// title of add bend point menu item (User may need to adjust width of menu items according to length of this option) | ||
addBendMenuItemTitle: "Add Bend Point", | ||
// title of remove bend point menu item (User may need to adjust width of menu items according to length of this option) | ||
removeBendMenuItemTitle: "Remove Bend Point" | ||
}; | ||
@@ -76,0 +80,0 @@ ``` |
@@ -22,3 +22,7 @@ ;(function($$, $){ 'use strict'; | ||
// whether to start the plugin in the enabled state | ||
enabled: true | ||
enabled: true, | ||
// title of add bend point menu item (User may need to adjust width of menu items according to length of this option) | ||
addBendMenuItemTitle: "Add Bend Point", | ||
// title of remove bend point menu item (User may need to adjust width of menu items according to length of this option) | ||
removeBendMenuItemTitle: "Remove Bend Point" | ||
}; | ||
@@ -25,0 +29,0 @@ |
@@ -70,3 +70,3 @@ var debounce = require('./debounce'); | ||
id: addBendPointCxtMenuId, | ||
title: 'Add Bend Point', | ||
title: opts.addBendMenuItemTitle, | ||
selector: 'edge:selected', | ||
@@ -77,3 +77,3 @@ onClickFunction: cxtAddBendPointFcn | ||
id: removeBendPointCxtMenuId, | ||
title: 'Remove Bend Point', | ||
title: opts.removeBendMenuItemTitle, | ||
selector: 'edge:selected', | ||
@@ -80,0 +80,0 @@ onClickFunction: cxtRemoveBendPointFcn |
Sorry, the diff of this file is too big to display
170869
2736
93