added save graph as image