iVis-at-Bilkent/cytoscape.js-svg

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

cytoscape-svg-convertor

Description

Exports the current graph view as a SVG image.

Dependencies
Usage instructions

Download the library:

require() 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.

API

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

Publishing instructions

This project is set up to automatically be published to npm and bower. To publish:

  1. Set the version number environment variable: export VERSION=1.2.3
  2. Publish: gulp publish
  3. If publishing to bower for the first time, you'll need to run bower register cytoscape-svg-convertor https://github.com/svg-convertor.git

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.