graph array to List