All Projects → ybarukh → react-cytoscape

ybarukh / react-cytoscape

Licence: MIT license
react component for cytoscape

Programming Languages

javascript
184084 projects - #8 most used programming language
Batchfile
5799 projects

Projects that are alternatives of or similar to react-cytoscape

cytoscape.js-panzoom
Panzoom extension for Cytoscape.js
Stars: ✭ 62 (+100%)
Mutual labels:  cytoscapejs
Cytoscape.js
Graph theory (network) library for visualisation and analysis
Stars: ✭ 8,107 (+26051.61%)
Mutual labels:  cytoscapejs
cytoscape.js-context-menus
A Cytoscape.js extension to provide context menu around elements and core instance
Stars: ✭ 63 (+103.23%)
Mutual labels:  cytoscapejs
CoNekT
CoNekT (short for Co-expression Network Toolkit) is a platform to browse co-expression data and enable cross-species comparisons.
Stars: ✭ 17 (-45.16%)
Mutual labels:  cytoscapejs
cytoscape.js-graphml
A Cytoscape.js extension to import from and export to GraphML format
Stars: ✭ 26 (-16.13%)
Mutual labels:  cytoscapejs
cytoscape.js-spread
The speedy Spread physics simulation layout for Cytoscape.js
Stars: ✭ 20 (-35.48%)
Mutual labels:  cytoscapejs
cytoscape.js-bubblesets
Cytoscape.js Bubblesets plugin
Stars: ✭ 18 (-41.94%)
Mutual labels:  cytoscapejs
cytoscape.js-qtip
A Cytoscape.js extension that wraps the QTip jQuery library
Stars: ✭ 39 (+25.81%)
Mutual labels:  cytoscapejs
cytosnap
A Node.js package that renders images of Cytoscape.js graphs on the server using Puppeteer
Stars: ✭ 48 (+54.84%)
Mutual labels:  cytoscapejs

React component for Cytoscape

A React component to use simply the cytoscape js library.

http://js.cytoscape.org

Installation

npm install react-cytoscape

Usage

import { ReactCytoscape } from 'react-cytoscape';

<ReactCytoscape containerID="cy" 
	elements={this.getElements()} 
	cyRef={(cy) => { this.cy = cy; console.log(this.cy) }} 
	cytoscapeOptions={{wheelSensitivity: 0.1}}
	layout={{name: 'dagre'}} />

ReactCytoscape props

Props are same as Cytoscape builder function.

  • containerID : HTML ID to div cytoscape container

  • elements : Object with nodes and egdes attributes

  • style : Array of Style object

  • layout : Object with name of layout attribute.
    ReactCytoscape integrates cola layout and dagre layout.

  • styleContainer : an object of css style

  • cyRef : a callback function to obtain a reference to cytoscape object

  • cytoscapeOptions : Object with others cytoscape options builder

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].