added parent pointers to AMRGraph