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
@types/cytoscape-avsdf
TypeScript definitions for cytoscape-avsdf
layout-base
Basic layout model and some utilities for Cytoscape.js layout extensions
cytoscape
Graph theory (a.k.a. network) library for analysis and visualisation
cytoscape-cose-bilkent
The CoSE layout for Cytoscape.js by Bilkent with enhanced compound node placement
npm install cytoscape-avsdf
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
13 Stars
12 Commits
8 Forks
10 Watching
4 Branches
16 Contributors
Updated on 14 Dec 2023
JavaScript (89.44%)
HTML (10.56%)
Cumulative downloads
Total Downloads
Last day
26.3%
341
Compared to previous day
Last week
37.8%
1,755
Compared to previous week
Last month
3.1%
6,048
Compared to previous month
Last year
8.2%
56,402
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', ... })
, 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
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/11 approved changesets -- 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
105 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
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