Fixed constraint issue in generated graph for 1.2.