Skip to content

Commit

Permalink
Merge branch 'unstable'
Browse files Browse the repository at this point in the history
  • Loading branch information
kinimesi committed Jun 19, 2018
2 parents 9783ee2 + 66673d5 commit 6d72e64
Show file tree
Hide file tree
Showing 12 changed files with 31,361 additions and 24,047 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ edge.data('bendPointPositions');
`sbgnviz.register(options)`
Register with libraries before creating instances

`sbgnviz.validMapProperties`
A lookup object for valid map properties.

`var instance = sbgnviz(options)`
Creates an extension instance with the given options

Expand Down Expand Up @@ -178,8 +181,8 @@ Loads the given sbgnml file. Optionally apply a callback function upon loading.
`instance.loadSBGNMLText(textData)`
Loads a graph from the given text data in sbgnml format.

`instance.saveAsSbgnml(filename)`
Exports the current graph to an sbgnml file with the given filename.
`instance.saveAsSbgnml(filename[, version])`
Exports the current graph to an sbgnml file with the given filename. A SBGN-ML version can be provided, either 0.2 or 0.3. No version defaults to 0.3.

`instance.enablePorts()`
Enable node ports.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"cytoscape": "iVis-at-Bilkent/cytoscape.js#unstable"
},
"dependencies": {
"libsbgn.js": "^0.1.3",
"libsbgn.js": "github:sbgn/libsbgn.js#master",
"pretty-data": "^0.40.0",
"xml2js": "^0.4.17"
},
Expand Down
Loading

0 comments on commit 6d72e64

Please sign in to comment.