Cytoscape.js is a graph theory library for analysis and visualisation.
It's compatible with CommonJS/Node.js, AMD/Require.js, jQuery, npm, Bower, spm, jspm, Meteor/Atmosphere, and plain JS/JavaScript.
Website Demo