add options to generate graph