Add downward directed graph layout support

Closes #157.