Gathering detailed insights and metrics for cytoscape-avsdf
Gathering detailed insights and metrics for cytoscape-avsdf
Gathering detailed insights and metrics for cytoscape-avsdf
Gathering detailed insights and metrics for cytoscape-avsdf
An implementation of the circular layout algorithm by He & Sykora
npm install cytoscape-avsdf
Typescript
Module System
Node Version
NPM Version
JavaScript (89.44%)
HTML (10.56%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
13 Stars
12 Commits
7 Forks
9 Watchers
4 Branches
20 Contributors
Updated on Dec 14, 2023
Latest Version
1.0.0
Package Id
cytoscape-avsdf@1.0.0
Unpacked Size
49.21 kB
Size
15.40 kB
File Count
23
NPM Version
6.4.1
Node Version
11.3.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
1
An implementation of the Circular Drawing Algorithm by Hongmei He & Ondrej Sýkora.
Click here for a demo.
Download the library:
npm install cytoscape-avsdf
,bower install cytoscape-avsdf
, orImport the library as appropriate for your project:
ES import:
1import cytoscape from 'cytoscape'; 2import avsdf from 'cytoscape-avsdf'; 3 4cytoscape.use( avsdf );
CommonJS require:
1let cytoscape = require('cytoscape'); 2let avsdf = require('cytoscape-avsdf'); 3 4cytoscape.use( avsdf ); // register extension
AMD:
1require(['cytoscape', 'cytoscape-avsdf'], function( cytoscape, avsdf ){ 2 avsdf( cytoscape ); // register extension 3});
Plain HTML/JS has the extension registered for you automatically, because no require()
is needed.
When calling the layout, e.g. cy.layout({ name: 'avsdf-base', ... })
, the following options are supported:
1var defaultOptions = { 2 // Called on `layoutready` 3 ready: function () { 4 }, 5 // Called on `layoutstop` 6 stop: function () { 7 }, 8 // number of ticks per frame; higher is faster but more jerky 9 refresh: 30, 10 // Whether to fit the network view after when done 11 fit: true, 12 // Padding on fit 13 padding: 10, 14 // Prevent the user grabbing nodes during the layout (usually with animate:true) 15 ungrabifyWhileSimulating: false, 16 // Type of layout animation. The option set is {'during', 'end', false} 17 animate: 'end', 18 // Duration for animate:end 19 animationDuration: 500, 20 // How apart the nodes are 21 nodeSeparation: 60 22};
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 servernpm run lint
: Run eslint on the sourceN.b. all builds use babel, so modern ES features can be used in the src
.
This project is set up to automatically be published to npm and bower. To publish:
npm run build:release
git commit -am "Build for release"
npm version major|minor|patch
git push && git push --tags
npm publish .
bower register cytoscape-avsdf https://github.com/iVis-at-Bilkent/cytoscape.js-avsdf.git
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 1/11 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
115 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More