Adapted AnnotationGraph to new GrAF structure.