Computes the effective distance between nodes in a weighted directed graph as declared in [1] or even the whole tree for a given root node. Subsequently the tree can be plotted with the (radial-distance-layout)[https://github.com/benmaier/radial-distance-layout] package.
[1] The Hidden Geometry of Complex, Network-Driven Contagion Phenomena, D Brockmann, D Helbing, Science Vol. 342, Issue 6164, pp. 1337-1342 (2013)
$ sudo python setup.py install
>>> import effdist