graph generation done