https://github.com/ivis-at-bilkent/cytoscape.js-avsdf
An implementation of the circular layout algorithm by He & Sykora
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
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
Metadata Files
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./testnpm run build: Build./src/**intocytoscape-avsdf.jsnpm 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 servernpm 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:
- Build the extension :
npm run build:release - Commit the build :
git commit -am "Build for release" - Bump the version number and tag:
npm version major|minor|patch - Push to origin:
git push && git push --tags - Publish to npm:
npm publish . - 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 - Make a new release for Zenodo.
Team
- Alihan Okka, Doruk Cakmakci, and Ugur Dogrusoz of i-Vis at Bilkent University
Owner
- Name: i-Vis at Bilkent
- Login: iVis-at-Bilkent
- Kind: organization
- Website: http://www.cs.bilkent.edu.tr/~ivis/
- Twitter: iVisAtBilkent
- Repositories: 50
- Profile: https://github.com/iVis-at-Bilkent
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
Pull Request Labels
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
- Homepage: https://github.com/iVis-at-Bilkent/cytoscape.js-avsdf
- License: MIT
-
Latest release: 1.0.0
published almost 7 years ago
Rankings
Maintainers (1)
Dependencies
- 1093 dependencies
- 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
- cytoscape ^3.2.0