graph_export_image is working

needs some lea-checking though