Without "as" it is potentially confusing. "Graduating" could be read as a transitive verb whose subject is a teacher, which I assume is not the intention.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.