added csv export to graph