Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
cytoscape-graphml
Advanced tools
A Cytoscape.js extension to import from a graph in GraphML format or to export the current Cytsocape.js graph to GraphML format, distributed under The MIT License. (demo)
cy.graphml()
Export the graph as GraphML.
cy.graphml( cyGraphML )
Import the graph as GraphML.
cy.graphml( optionsObj )
Updates the specified options of extension.
{
node: {
css: false,
data: true,
position: true,
discludeds: []
},
edge: {
css: false,
data: true,
discludeds: []
},
layoutBy: "cose" // string of layout name or layout function
}
Download the library:
npm install cytoscape-graphml
,bower install cytoscape-graphml
, orrequire()
the library as appropriate for your project:
CommonJS:
var cytoscape = require('cytoscape');
var jquery = require('jquery');
var graphml = require('cytoscape-graphml');
graphml( cytoscape, jquery ); // register extension
AMD:
require(['cytoscape', 'cytoscape-graphml'], function( cytoscape, graphml ){
graphml( cytoscape ); // register extension
});
Plain HTML/JS has the extension registered for you automatically, because no require()
is needed.
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-graphml https://github.com/iVis-at-Bilkent/cytoscape.js-graphml.git
FAQs
Import or export the graph in GraphML format.
The npm package cytoscape-graphml receives a total of 358 weekly downloads. As such, cytoscape-graphml popularity was classified as not popular.
We found that cytoscape-graphml demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.