Preliminary graph exporting functionality