Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this questionI i开发者_运维技巧ntend to draw a directed graph (node-oriented). The nodes in the graph are dynamically generated. I am wondering if there's any good js library out there that solves my problem. Edges and weights need to be custom configured.
Thanks, Deepak.
The JavaScript InfoVis Toolkit provides graph view that can be dynamically generated and updated using AJAX etc. It provides a number of views that are customizable.
From my experience D3.js is most flexible
d3js.org
also there is new sigmajs libaray
http://sigmajs.org/
Have you looked into the RaphaelJS library?
Check out the awesome demos on the site. It's cross-browser, because it uses VML in IE and SVG in other browsers.
You can try arborjs.org too.
Commercially licensed - KeyLines would do the job - also cross-browser, both old IE & newer browsers supported (incl iPads). Disclaimer: I help to develop it ;-)
Cytoscape Web JS will do what you need.
Check out the github repository here http://cytoscape.github.com/cytoscape.js/ and you can play around with some demos here http://cytoscape.github.com/cytoscapeweb/
精彩评论