Possible Duplicate:
Graph visualization code in javascript?
I need to create a dynamic visualization for nodes and their relationships in Javascript. What's the best framework to use? This is what I've briefly reviewed so far:
- Flare - it's Flash and hasn't been updated in almost 2 years.
- JavaScript InfoVis Toolkit - interaction seems a little slow, maybe that's on purpose in the demos
- Protovis - documentation looks great, doesn't work in IE at all (can I get it to work with some kind of IE SVG adapter?)
Are these the best for displaying nodes in a graph and interacting with them in javascript?
InfoVis is probably your best bet, for IE compatibility look for solutions built on Raphael.
edit Here's something you could build on, based on Google:"raphael force directed graph".
来源:https://stackoverflow.com/questions/3825126/javascript-framework-for-relationship-visualization