Programmatically specifying nodes of the same rank for networkx (for pygraphviz tree visualization using dot)
Programmatically specifying nodes of the same rank within networkx's wrapper for pygraphviz/dot