Skip to content

MOZI-AI/cytoscape-multilevel-layout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cytoscape-multilevel-layout

Description

A multilevel layout algorithm for visualizing physical and genetic interaction networks based on the publication of Johannes Tuikkala, Heidi Vähämaa, Pekka Salmela, Olli S Nevalainen,and Tero Aittokallio (demo)

Dependencies

  • Cytoscape.js ^3.2.0

Usage instructions

Download the library:

  • via npm: npm install cytoscape-multilevel-layout,
  • via bower: bower install cytoscape-multilevel-layout, or
  • via direct download in the repository (probably from a tag).

Import the library as appropriate for your project:

ES import:

import cytoscape from 'cytoscape';
import multilevelLayout from 'cytoscape-multilevel-layout';

cytoscape.use( multilevelLayout );

CommonJS require:

let cytoscape = require('cytoscape');
let multilevelLayout = require('cytoscape-multilevel-layout');

cytoscape.use( multilevelLayout ); // register extension

AMD:

require(['cytoscape', 'cytoscape-multilevel-layout'], function( cytoscape, multilevelLayout ){
  multilevelLayout( cytoscape ); // register extension
});

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •