Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanbalci committed Aug 6, 2017
2 parents 17e0a1b + 50c3919 commit 97bb952
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ cytoscape-view-utilities

A Cytoscape.js extension to provide miscellenaous view utilities such as highlighting nodes/edges, distributed under [The MIT License](https://opensource.org/licenses/MIT).

[Click for demo](https://rawgit.com/iVis-at-Bilkent/cytoscape.js-view-utilities/master/demo-undoable.html)

## API

`var instance = cy.viewUtilities(options)`
Expand Down Expand Up @@ -63,7 +65,7 @@ Unhides given eles.
},
setVisibilityOnHide: false, // whether to set visibility on hide/show
setDisplayOnHide: true, // whether to set display on hide/show
neighbor: function(node){ // return desired neighbors of tapheld node
neighbor: function(node){ // return desired neighbors of (shift + tapheld) node
return false;
},
neighborSelectTime: 500 //ms, time to taphold to select desired neighbors
Expand Down

0 comments on commit 97bb952

Please sign in to comment.