cytoscape-js-rails provides the cytoscape.js library as a Rails engine to use it within the asset pipeline.
Original Git source - https://github.com/cytoscape/cytoscape.js
Add this to your Gemfile:
$ gem cytoscape-js-rails
and run bundle install.
In your application.js, include the following:
//= require cytoscape.min
The gem is available as open source under the terms of the MIT License.
Execute bin/update to update the assets and the version of the gem.
Then push your changes to github and create a release tag.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request