Wednesday, May 2, 2012

What"s the fastest, pure Javascript, Graph visualization toolkit?


This question is about toolkits which draw graphs (those things composed of vertices and edges), not generic plots.



The tool mus be able to get a set of vertices and edges, calculate their layout, and display them either using the canvas tag, or SVG, that is be compatible with HTML5.



Flash-based tools and java applets are out.



to serve as unified benchmark, please measure and report how long it takes for the toolkit to layout and draw a Barabasi-Albert graph with 100 vertices and 5 edges per node.



This python lybrary shows how to generate it and exports it to many formats:



http://networkx.lanl.gov/tutorial/tutorial.html#graph-generators-and-graph-operations



please indicate browser and CPU


Source: Tips4all

4 comments:

  1. JavaScript InfoVis Toolkit is awesome and i have not seen a competitor to it.

    ReplyDelete
  2. Canviz is a pure Javascript renderer of the excellent graphviz. Graphviz is used on the server to generate the layout, but rather than generating an image it can be rendered with canviz on the client instead.

    There is a demo.

    ReplyDelete
  3. Data Driven Documents (d3.js) http://mbostock.github.com/d3/ is quite good in my experience as it scales up quite good; can easily handle 100 nodes (or more?) without any stall

    ReplyDelete
  4. We produce mxGraph, it is a entirely client-side graph visualization library. We optimise precisely for this one domain, not just general drawing, so we've quite a speed advantages that part-time projects in this field won't be able to implement.

    ReplyDelete