BOSTON — A former Boston College student has been charged with involuntary manslaughter in connection with the suicide of her college boyfriend on his graduation day, prosecutors announced on Monday.

The charge, announced by Rachael Rollins, the Suffolk County district attorney, bore similarities to the case of Michelle Carter, who was convicted of involuntary manslaughter in 2017 for repeatedly urging a close friend in text messages to kill himself.

The former student, Inyoung You, 21, and her boyfriend, Alexander Urtula, 22, were attending Boston College when Mr. Urtula leapt to his death from a parking garage in the Boston neighborhood of Roxbury on May 20. Mr. Urtula’s family, from New Jersey, was in Boston that day to watch him appear in the graduation ceremony at 10 a.m. He died about 90 minutes before it began.

Image Inyoung You, 21, right, and her boyfriend, Alexander Urtula, 22, left, were students at Boston College when he died. Credit... via Suffolk District Attorney’s Office

In a news conference, Ms. Rollins said Ms. You had been physically, verbally and psychologically abusive to Mr. Urtula over the course of an 18-month relationship, with the abuse becoming more intense and demeaning in the days and hours before his death. She said classmates and family members had observed the abuse, which was also documented in Mr. Urtula’s journal and in tens of thousands of text messages.