Hi
She turned to someone else when she wanted you but you weren't there.
It sounds as if it is still you whom she wants.
Can you rebuild your relationship?
Can she welcome you back and forget what went on with your friend?
Can you start anew and also forget what went on with your friend?
Can you forgive each other and enjoy your love for each other?
If you can, then all may be well.
Good luck