cytoscape-css-renderer
Description
Cytoscape renderer that uses CSS transforms to provide HTML labels.
Dependencies
- Cytoscape.js >=2.3.5
Usage instructions
Download the library:
- via npm:
npm install cytoscape-css-renderer
, - via bower:
bower install cytoscape-css-renderer
, or - via direct download in the repository (probably from a tag).
require()
the library as appropriate for your project:
CommonJS:
var cytoscape = ;var css_renderer = ; ; // register extension
AMD:
;
Plain HTML/JS has the extension registered for you automatically, because no require()
is needed.
API
Require the library and specify 'css' as renderer.name.
;