graph generation is done