Will it work? Will I get him back?

I don’t understand why you didn’t just tell him not to come to your HS graduation. Why would you break up with him rather than just tell him? He probably wouldn’t have even cared, but you lost his trust when you broke up, and for good reason.