added prune option to plot_graph (dotgraph version)