- Cytoscape.js >=x.y.z
Download the library:
- via npm:
npm install cytoscape-ngraph.forcelayout,
- via bower:
bower install cytoscape-ngraph.forcelayout, or
- via direct download in the repository (probably from a tag).
require() the library as appropriate for your project:
var cytoscape = ;var cyforcelayout = ;; // register extension
Plain HTML/JS has the extension registered for you automatically, because no
require() is needed.
Please briefly describe your API here:
This project is set up to automatically be published to npm and bower. To publish:
- Set the version number environment variable:
- If publishing to bower for the first time, you'll need to run
bower register cytoscape-ngraph.forcelayout https://github.com/nickoasmv/cytoscape-ngraph.forcelayout.git