helper method chang connect node moment rerout gener object node object old node object edg sourc moment 