Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nasimsaleh committed Sep 5, 2019
1 parent f3304ac commit a5ea208
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A Cytoscape.js extension to provide grapples to resize nodes and a visual cue to

## Demo

Click [here](https://ivis-at-bilkent.github.io/cytoscape.js-node-resize/demo.html) (simple) or [here](https://ivis-at-bilkent.github.io/cytoscape.js-node-resize/undoable_demo.html) (undoable) for demos
Click [here](https://rawgit.com/iVis-at-Bilkent/cytoscape.js-node-resize/unstable/demo.html) (simple) or [here](https://rawgit.com/iVis-at-Bilkent/cytoscape.js-node-resize/unstable/undoable_demo.html) (undoable) for demos

## Default Options

Expand All @@ -20,8 +20,7 @@ Click [here](https://ivis-at-bilkent.github.io/cytoscape.js-node-resize/demo.htm

grappleSize: 8, // size of square dots
grappleColor: "green", // color of grapples
inactiveGrappleStroke: "inside 1px blue",
boundingRectangle: true, // enable/disable bounding rectangle
inactiveGrappleStroke: "inside 1px blue",
boundingRectangleLineDash: [4, 8], // line dash of bounding rectangle
boundingRectangleLineColor: "red",
boundingRectangleLineWidth: 1.5,
Expand Down Expand Up @@ -116,7 +115,7 @@ Click [here](https://ivis-at-bilkent.github.io/cytoscape.js-node-resize/demo.htm

## Dependencies

* Cytoscape.js ^2.7.0
* Cytoscape.js ^3.2.0
* jquery ^1.7.0 || ^2.0.0 || ^3.0.0
* konva ^1.6.3
* cytoscape-undo-redo ^1.0.10 (optional)
Expand Down
4 changes: 2 additions & 2 deletions cytoscape-node-resize.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@
grappleSize: 8, // size of square dots
grappleColor: "green", // color of grapples
inactiveGrappleStroke: "inside 1px blue",
boundingRectangle: true, // enable/disable bounding rectangle
//boundingRectangle: true, // enable/disable bounding rectangle
boundingRectangleLineDash: [4, 8], // line dash of bounding rectangle
boundingRectangleLineColor: "red",
boundingRectangleLineWidth: 1.5,
Expand Down Expand Up @@ -411,7 +411,7 @@
'position': 'absolute',
'top': 0,
'left': 0,
'z-index': '999'
'z-index': options.zIndex
});

setTimeout(function () {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"homepage": "https://github.com/iVis-at-Bilkent/cytoscape.js-node-resize",
"peerDependencies": {
"cytoscape": "^3.0.0",
"cytoscape": "^3.2.0",
"jquery": "^1.7.0 || ^2.0.0 || ^3.0.0",
"konva": "^1.6.3"
},
Expand Down

0 comments on commit a5ea208

Please sign in to comment.