问题
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?
回答1:
Infovis seems really great compared to the framework I've seen before, here are some I've found when I was looking for such a framework (a long time ago):
- jsgraph - if you're looking for "simplicity"
- binviz - for visualisation and interaction of graph
回答2:
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