PyGraphviz Implementation of Graphs and Trees