added pygraphviz support
further minor tweaks