Hacker News new | ask | show | jobs
by earless1 3906 days ago
I really like the look of these types of graphs. Is the code used to produce them available anywhere?
3 comments

(author here) The graphs are stock graphviz output, the linear layout is called "dot" (the default), and the nebulous layout is "sfdp". For your googling pleasure it's a "force directed graph layout", and there are many libraries to assist with it. d3.js has a force layout built in, for instance.
As far as I know, d3.js has force-directed but not "directed" force-directed like Sugiyama.
It's produced with a tool called Graphviz:

https://en.wikipedia.org/wiki/Graphviz

The main Graphviz website is down at the time of my posting this comment:

http://www.graphviz.org/

While the exact output options aren't immediately visible, the Imgur site says that Graphviz was used, in the tree layout, and a force directed layout (probably sfdp).