

If you are making a patch release, you can just release master with its new patches.Current releases are based on the master branch: git checkout master.Follow the remaining ordinary release steps (step 5 and onward).

This ensures that npm lists the current version as the latest one.

npm run build should be run beforehand on a recent version of node.test:build : run the mocha tests on the public API of the lib (on a built bundle).npm run test:js -g "my test name" runs tests on only the matching test cases.test:js : run the mocha tests on the public API of the lib (directly on source files).The library can be built on node>=6, but the library's bundle can be tested on node>=0.10. Tests can alternatively be run on a built bundle. The default test scripts run directly against the source code.
Cytoscape js demo update#
dist : update the distribution js for npm etc.good for testing cytoscape in another project (with a "cytoscape": "file./path/to/cytoscape" reference in your project's package.json).watch:umd : automatically build prod umd bundle (no sourcemap, with babel).good for testing performance or for testing out of date browsers.watch:babel : automatically build lib for debugging (with sourcemap, with babel, a bit slower).served on or the first available port thereafter, with livereload on debug/index.html.good for general testing on debug/index.html.watch : automatically build lib for debugging (with sourcemap, no babel, very quick).docs : build the docs into documentation.build:esm : do the esm (ES 2015 modules) build.

build:umd : do the umd (cjs/amd/globals) build.build:min : do the unminified build with bundled dependencies (for simple html pages, good for novices).build: do all builds of the library (umd, min, umd, esm).To cite Cytoscape.js in a paper, please cite the Oxford Bioinformatics issue:Ĭytoscape.js: a graph theory library for visualisation and analysisįranz M, Lopes CT, Huck G, Dong Y, Sumer O, Bader GDīioinformatics (2016) 32 (2): 309-311 first published online Septemdoi:10.1093/bioinformatics/btv557 (PDF) This allows for rapid releases of first- and third-party contributions. Get in touch with us by posting a GitHub discussion.įor the mechanics of contributing a pull request, refer to CONTRIBUTING.md.įeature releases are made monthly, while patch releases are made weekly. documentation, outreach), depending on your interests. features, testing) or non-technical roles (e.g. Would you like to become a Cytoscape.js contributor? You can contribute in technical roles (e.g. You can use the milestones to see what's currently planned for future releases. Roadmapįuture versions of Cytoscape.js are planned in the milestones of the Github issue tracker. You can find the documentation and downloads on the project website. More demos are available in the documentation.
Cytoscape js demo code#
The Tokyo railway stations network can be visualised with Cytoscape:Ī live demo and source code are available for the Tokyo railway stations graph. Learn more about the features of Cytoscape.js by reading its documentation.
