added generate graphic action