Name: cytoscape.js-svg
Owner: iVis-at-Bilkent
Description: null
Created: 2016-10-20 11:22:33.0
Updated: 2016-10-20 13:56:14.0
Pushed: 2017-01-28 10:04:09.0
Homepage: null
Size: 31
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Exports the current graph view as a SVG image.
Download the library:
npm install cytoscape-svg-convertor
,bower install cytoscape-svg-convertor
, orrequire()
the library as appropriate for your project:
CommonJS:
cytoscape = require('cytoscape');
svg-convertor = require('cytoscape-svg-convertor');
convertor( cytoscape ); // register extension
AMD:
ire(['cytoscape', 'cytoscape-svg-convertor'], function( cytoscape, svg-convertor ){
g-convertor( cytoscape ); // register extension
Plain HTML/JS has the extension registered for you automatically, because no require()
is needed.
Please briefly describe your API here:
vg-convertor({
o: 'bar', // some option that does this
z: 'bat' // some options that does that
... and so on
Or maybe if you have a collection extension:
lements().test({
o: 'bar', // some option that does this
z: 'bat' // some options that does that
... and so on
This project is set up to automatically be published to npm and bower. To publish:
export VERSION=1.2.3
gulp publish
bower register cytoscape-svg-convertor https://github.com/svg-convertor.git