onEditGraph()