add png export of graph

re #174 but needs docs