Reputation: 13624
I am developing a web application that presents a undirected graph data structure on web site but i could not find good way to it efficiently and mobile phone compatible.
I though using java-script or html5 is fastest way but how can i get java data and present it with HTML or java-script.
Or I plan to use Ruby on Rails instead of java but I could nor find a library that is capable to draw such a graph on webpage.
Upvotes: 0
Views: 752
Reputation: 160311
For graphs something like Protovis, now d3.js, can provide some pretty awesome results.
Upvotes: 1
Reputation: 700
I would recommend that you transform your Java data to JSON (using GSON, for instance: http://code.google.com/p/google-gson/), and then use a library like gRaphael (http://g.raphaeljs.com/) to visualize it on the page.
Upvotes: 1