https://github.com/cytoscape/js4cytoscape

JavaScript library for calling Cytoscape Automation via CyREST

https://github.com/cytoscape/js4cytoscape

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    3 of 10 committers (30.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.8%) to scientific vocabulary

Keywords from Contributors

archival projection cytoscape profiles workflow-automation identifier-mapping sequences interactive generic hacking
Last synced: 10 months ago · JSON representation

Repository

JavaScript library for calling Cytoscape Automation via CyREST

Basic Info
  • Host: GitHub
  • Owner: cytoscape
  • License: mit
  • Language: JavaScript
  • Default Branch: develop
  • Size: 51.6 MB
Statistics
  • Stars: 4
  • Watchers: 13
  • Forks: 4
  • Open Issues: 1
  • Releases: 2
Created about 5 years ago · Last pushed 10 months ago
Metadata Files
Readme License

README.md

js4cytoscape

js4cytoscape is a collection of JavaScript / TypeScript libraries for processing CX, accessing NDEx API, and calling Cytoscape Desktop Automation via CyREST. These libraries are maintained by the Cytoscape Core Developer team.

Project List

This monorepo was derived from the following repositories:

All of the above are now in archived and all new features and bug fixes will be available from here.

How to use

The latest versions of these libraries are available in the following npm repository:

https://www.npmjs.com/org/js4cytoscape

For html users, add this to the <head> of your page (specify version @#.#.# or remove to get latest):

<script src="https://unpkg.com/@js4cytoscape/js4cytoscape@#.#.#/dist/main.js"></script>

For npm users:

npm install @js4cytoscape/PACKAGE-NAME

For yarn users:

yarn add @js4cytoscape/PACKAGE-NAME

Please read the documents in each package directory (TBD)

Quick Start Guide for Developers

This repository uses NPM and its Workspace and you need to follow these rules to avoid accidentally add unnecessary dependencies and package-lock.json files.

Build the entire

To build the latest versions, please run the following commands:

git@github.com:cytoscape/js4cytoscape.git cd js4cytoscape git checkout develop npm install npm run build --workspaces

This creates new builds of all packages in your local directory. To use these builds for development, please link those using npm link command.

Adding a new dependency

Dev Dependencies

All dev-dependencies should be added to the project root. To add a new dev-dependency, run the following command in the root directory:

npm install PACKAGE-NAME --save-dev

Dependencies for a specific sub-project

If you need to add a new dependency to a specific sub-project, you should run:

npm install PACKAGE-NAME -w packages/SUBPROJECT-NAME

Developing individual packages

  1. Create a new branch as a working branch.
  2. Make changes in the code.
  3. Update the version attribute in package.json file under that package. For dev releases, its value should be something like "0.4.3-alpha.1".
  4. Push all changes to Github.
  5. Build that package and release to NPM as a prerelease. For example, to publish this "0.4.3-alpha.1" release of ndex-client to NPM, run these commands

    cd ndex-client npm run build npm publish --tag next

    1. If there are no errors in the prerelease, create a pull request from that branch and merge changes to develop branch.
    2. Tag the develop branch with that prerelease using this format package_name-vsemVerion. For example, git tag -a cx2js-v0.6.7-alpha.0 -m 'cx2js prerelease v0.6.7-alpha.0' git push origin --tags
    3. Delete your working branch.

Owner

  • Name: Cytoscape Consortium
  • Login: cytoscape
  • Kind: organization

GitHub Events

Total
  • Watch event: 1
  • Push event: 25
  • Create event: 4
Last Year
  • Watch event: 1
  • Push event: 25
  • Create event: 4

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 955
  • Total Committers: 10
  • Avg Commits per committer: 95.5
  • Development Distribution Score (DDS): 0.353
Past Year
  • Commits: 3
  • Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Unknown d****v@g****m 618
Yihang Xin y****n@g****u 163
jingjingbic j****c@g****m 60
Alexander Pico a****o@g****u 53
dependabot[bot] 4****] 14
Yihang Xin 4****x 14
Keiichiro Ono k****o@g****m 14
d2fong d****g@u****a 10
chengzhangao g****n@g****m 8
Chengzhan Gao 1****5@q****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 18
  • Total pull requests: 19
  • Average time to close issues: 24 days
  • Average time to close pull requests: about 20 hours
  • Total issue authors: 2
  • Total pull request authors: 4
  • Average comments per issue: 0.78
  • Average comments per pull request: 0.21
  • Merged pull requests: 19
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 3 days
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • AlexanderPico (14)
  • yihangx (4)
Pull Request Authors
  • jingjingbic (14)
  • AlexanderPico (4)
  • GAOChengzhan (4)
  • yihangx (2)
Top Labels
Issue Labels
js4cytoscape (17) enhancement (11) bug (4) documentation (1)
Pull Request Labels

Packages

  • Total packages: 6
  • Total downloads:
    • npm 1,027 last-month
  • Total dependent packages: 7
    (may contain duplicates)
  • Total dependent repositories: 11
    (may contain duplicates)
  • Total versions: 50
  • Total maintainers: 6
npmjs.org: @js4cytoscape/cx-viz-converter

CX converter for large network visualization

  • Versions: 4
  • Dependent Packages: 1
  • Dependent Repositories: 3
  • Downloads: 883 Last month
Rankings
Dependent repos count: 6.4%
Downloads: 6.9%
Forks count: 8.2%
Average: 11.1%
Stargazers count: 13.2%
Dependent packages count: 20.9%
Last synced: 11 months ago
npmjs.org: @js4cytoscape/ndex-client

NDEx client library - Modern TypeScript implementation

  • Versions: 26
  • Dependent Packages: 1
  • Dependent Repositories: 3
  • Downloads: 92 Last month
Rankings
Dependent repos count: 6.4%
Forks count: 8.2%
Downloads: 8.4%
Average: 11.4%
Stargazers count: 13.2%
Dependent packages count: 20.9%
Last synced: 10 months ago
npmjs.org: js4cytoscape

JavaScript library for calling Cytoscape Automation via CyREST

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
  • Downloads: 9 Last month
Rankings
Dependent repos count: 5.9%
Forks count: 8.2%
Downloads: 11.3%
Average: 12.2%
Stargazers count: 12.5%
Dependent packages count: 23.0%
Maintainers (1)
Last synced: 11 months ago
npmjs.org: @js4cytoscape/cx2js

A cx to Cytoscape JS utility

  • Versions: 8
  • Dependent Packages: 2
  • Dependent Repositories: 2
  • Downloads: 15 Last month
Rankings
Dependent repos count: 7.6%
Forks count: 8.2%
Dependent packages count: 8.8%
Stargazers count: 13.2%
Average: 15.7%
Downloads: 40.5%
Last synced: 11 months ago
npmjs.org: @js4cytoscape/js4cytoscape

JavaScript library for calling Cytoscape Automation via CyREST

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 13 Last month
Rankings
Forks count: 8.2%
Dependent repos count: 10.3%
Stargazers count: 13.2%
Average: 19.6%
Dependent packages count: 20.9%
Downloads: 45.5%
Last synced: 11 months ago
npmjs.org: @js4cytoscape/cyannotation-cx2js

Renders Cytoscape Desktop annotations from CX files via cytoscape.js-canvas

  • Versions: 10
  • Dependent Packages: 1
  • Dependent Repositories: 2
  • Downloads: 15 Last month
Rankings
Dependent repos count: 7.6%
Forks count: 8.2%
Stargazers count: 13.2%
Dependent packages count: 20.9%
Average: 22.2%
Downloads: 60.9%
Last synced: 11 months ago

Dependencies

package-lock.json npm
  • 1152 dependencies
package.json npm
  • @babel/cli ^7.17.10 development
  • @babel/core ^7.18.2 development
  • @babel/preset-env ^7.18.2 development
  • @types/jest ^27.5.1 development
  • @types/node ^17.0.35 development
  • @typescript-eslint/eslint-plugin ^5.26.0 development
  • @typescript-eslint/parser ^5.26.0 development
  • babel-loader ^8.2.5 development
  • babel-polyfill ^6.26.0 development
  • babel-preset-env ^1.7.0 development
  • browser-sync ^2.27.7 development
  • camelcase ^6.3.0 development
  • chai ^4.3.6 development
  • cross-env ^7.0.3 development
  • echo-cli ^2.0.0 development
  • eslint ^8.16.0 development
  • eslint-config-prettier ^8.5.0 development
  • fs 0.0.1-security development
  • fs-extra ^9.0.0 development
  • jest ^28.1.0 development
  • mocha ^9.2.1 development
  • nock ^13.2.0 development
  • npm-run-all ^4.1.1 development
  • nyc ^15.1.0 development
  • prettier ^2.6.2 development
  • rimraf ^2.6.3 development
  • sinon ^7.3.1 development
  • terser-webpack-plugin ^5.3.1 development
  • ts-jest ^28.0.3 development
  • typescript ^4.7.2 development
  • webpack ^5.72.1 development
  • webpack-cli ^4.9.2 development
packages/cx-util/package.json npm
  • @js4cytoscape/ndex-client file:packages/ndex-client development
packages/cx2js/package.json npm
  • rewire ^6.0.0 development
  • cytoscape-canvas 3.0.1
  • fs ^0.0.1-security
  • lodash ^4.17.10
packages/cyannotation-cx2js/package.json npm
  • cytoscape-canvas 3.0.1
  • lodash ^4.17.10
packages/js4cytoscape/package.json npm
  • webpack 4.46.0 development
  • webpack-cli 4.7.2 development
  • webpack-concat-plugin 3.0.0 development
packages/ndex-client/package.json npm
  • axios ^0.26.0
packages/cx2js/bower.json bower
packages/cyannotation-cx2js/bower.json bower
packages/cx-viz-converter/package.json npm