Hacker News new | past | comments | ask | show | jobs | submit login

Personally I've found dagre-d3 to be by far the best library when presenting actual useful graph data: https://github.com/cpettitt/dagre-d3.

dagre is a layout library which implements graphviz in javascript, and renders it in d3. d3's force-directed layout is great for demos, but I've never found it good enough when trying to represent real data.

(edit: a link to my own simple, albeit demo, page using the library: http://nlpviz.bpodgursky.com/home)




Have used Highcharts, MxGraph and Dagre-d3 in work projects and I should say with more support (active development) to Dagre-d3 it would be way too good. While considering for one of our projects (https://github.com/caskdata/cdap/tree/develop/cdap-ui) our first choice was dagre-d3 but since the github page for it clearly says No Active Development going on, there was a bit of hesitation. Turned out to be pretty good! :)

OP can definitely consider taking adding Dagre-d3 to that list, its free and it figures out the space problem (how to space out your DAG) based on the input. We don't have to figure out where to draw which node and how to draw the edges!


If active development is a concern, you may want to consider ZingChart (http://www.zingchart.com ) They release new builds on a quarterly basis. The support is pretty responsive, too.


I can also recommend http://marvl.infotech.monash.edu/webcola/

which is "Javascript constraint based layout for high-quality graph visualization and exploration using D3.js and other web-based graphics libraries."


Thanks for the heads up. I will have to check out dagre-d3. In the past we have used visjs. That being said, we have never really had much success with it as the networks, above a trivial size, never seem to settle in. i.e. the nodes keep bouncing around (and at visually sub-optimal edge lengths).

http://visjs.org/network_examples.html

Outside the network module, I have no feedback on visjs.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: