u should first apply for extension of ur student visa. after ur graduation, even u haven't received ur new ID, u should inform IND that u're now graduate and would like to apply now search year ID. in this way, i don't think there is a gap.
if u first extend ur student ID, then there is no gap. if u do not extend ur student ID but apply for search year after ur graduation, there will be a gap.