https://github.com/ivis-at-bilkent/cytoscape.js-avsdf

An implementation of the circular layout algorithm by He & Sykora

https://github.com/ivis-at-bilkent/cytoscape.js-avsdf

Science Score: 18.0%

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

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: researchgate.net
  • Academic email domains
  • Institutional organization owner
    Organization ivis-at-bilkent has institutional domain (www.cs.bilkent.edu.tr)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.8%) to scientific vocabulary
Last synced: 5 months ago · JSON representation

Repository

An implementation of the circular layout algorithm by He & Sykora

Basic Info
  • Host: GitHub
  • Owner: iVis-at-Bilkent
  • License: mit
  • Language: JavaScript
  • Default Branch: master
  • Size: 11.8 MB
Statistics
  • Stars: 14
  • Watchers: 9
  • Forks: 7
  • Open Issues: 1
  • Releases: 0
Created over 7 years ago · Last pushed over 3 years ago
Metadata Files
Readme License

README.md

cytoscape-avsdf

Description

An implementation of the Circular Drawing Algorithm by Hongmei He & Ondrej Sýkora.

Click here for a demo.

Dependencies

  • Cytoscape.js ^3.2.0
  • avsdf-base ^1.0.0

Usage instructions

Download the library: * via npm: npm install cytoscape-avsdf, * via bower: bower install cytoscape-avsdf, or * via direct download in the repository (probably from a tag).

Import the library as appropriate for your project:

ES import:

```js import cytoscape from 'cytoscape'; import avsdf from 'cytoscape-avsdf';

cytoscape.use( avsdf ); ```

CommonJS require:

```js let cytoscape = require('cytoscape'); let avsdf = require('cytoscape-avsdf');

cytoscape.use( avsdf ); // register extension ```

AMD:

js require(['cytoscape', 'cytoscape-avsdf'], function( cytoscape, avsdf ){ avsdf( cytoscape ); // register extension });

Plain HTML/JS has the extension registered for you automatically, because no require() is needed.

API

When calling the layout, e.g. cy.layout({ name: 'avsdf', ... }), the following options are supported:

js var defaultOptions = { // Called on `layoutready` ready: function () { }, // Called on `layoutstop` stop: function () { }, // number of ticks per frame; higher is faster but more jerky refresh: 30, // Whether to fit the network view after when done fit: true, // Padding on fit padding: 10, // Prevent the user grabbing nodes during the layout (usually with animate:true) ungrabifyWhileSimulating: false, // Type of layout animation. The option set is {'during', 'end', false} animate: 'end', // Duration for animate:end animationDuration: 500, // How apart the nodes are nodeSeparation: 60 };

Build targets

  • npm run test : Run Mocha tests in ./test
  • npm run build : Build ./src/** into cytoscape-avsdf.js
  • npm run watch : Automatically build on changes with live reloading (N.b. you must already have an HTTP server running)
  • npm run dev : Automatically build on changes with live reloading with webpack dev server
  • npm run lint : Run eslint on the source

N.b. all builds use babel, so modern ES features can be used in the src.

Publishing instructions

This project is set up to automatically be published to npm and bower. To publish:

  1. Build the extension : npm run build:release
  2. Commit the build : git commit -am "Build for release"
  3. Bump the version number and tag: npm version major|minor|patch
  4. Push to origin: git push && git push --tags
  5. Publish to npm: npm publish .
  6. If publishing to bower for the first time, you'll need to run bower register cytoscape-avsdf https://github.com/iVis-at-Bilkent/cytoscape.js-avsdf.git
  7. Make a new release for Zenodo.

Team

Owner

  • Name: i-Vis at Bilkent
  • Login: iVis-at-Bilkent
  • Kind: organization

i-Vis Research Lab at Bilkent University

GitHub Events

Total
  • Issue comment event: 1
  • Pull request event: 2
  • Fork event: 1
Last Year
  • Issue comment event: 1
  • Pull request event: 2
  • Fork event: 1

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 3
  • Total pull requests: 3
  • Average time to close issues: 7 days
  • Average time to close pull requests: 6 days
  • Total issue authors: 1
  • Total pull request authors: 3
  • Average comments per issue: 1.33
  • Average comments per pull request: 0.33
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 day
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ugurdogrusoz (3)
  • ReneNyffenegger (1)
Pull Request Authors
  • johnnyflinn (1)
  • ReneNyffenegger (1)
  • dependabot[bot] (1)
Top Labels
Issue Labels
enhancement (2)
Pull Request Labels
dependencies (1)

Packages

  • Total packages: 1
  • Total downloads:
    • npm 45,512 last-month
  • Total docker downloads: 92
  • Total dependent packages: 12
  • Total dependent repositories: 34
  • Total versions: 1
  • Total maintainers: 1
npmjs.org: cytoscape-avsdf

An implementation of the circular layout algorithm by He & Sykora

  • Versions: 1
  • Dependent Packages: 12
  • Dependent Repositories: 34
  • Downloads: 45,512 Last month
  • Docker Downloads: 92
Rankings
Docker downloads count: 1.5%
Dependent packages count: 1.8%
Dependent repos count: 2.2%
Downloads: 2.6%
Average: 4.0%
Forks count: 7.0%
Stargazers count: 9.2%
Maintainers (1)
Last synced: 5 months ago

Dependencies

package-lock.json npm
  • 1093 dependencies
package.json npm
  • babel-core ^6.24.1 development
  • babel-loader ^7.0.0 development
  • babel-preset-env ^1.5.1 development
  • camelcase ^4.1.0 development
  • chai 4.0.2 development
  • cpy-cli ^1.0.1 development
  • cross-env ^5.0.0 development
  • eslint ^3.9.1 development
  • gh-pages ^1.0.0 development
  • mocha 3.4.2 development
  • npm-run-all ^4.1.2 development
  • rimraf ^2.6.2 development
  • update ^0.7.4 development
  • updater-license ^1.0.0 development
  • webpack ^2.6.1 development
  • webpack-dev-server ^2.4.5 development
  • avsdf-base ^1.0.0
bower.json bower
  • cytoscape ^3.2.0