add options to graph