Instantly share code, notes, and snippets.
Reingold-Tilford tree layout algorithm (forked from https://gist.github.com/mbostock/4063550).