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 must 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.
JavaScript的InfoVis工具包是真棒,我还没有看到它的竞争对手。
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
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.
链接地址: http://www.djcxy.com/p/29216.html上一篇: java函数可以找到最小边交叉点的图