So..... Three years ago I got a crush on my best friend (lets call her B) and it has been festering ever since (to the point of borderline psychosis). About a month and a half ago I finally confessed my affection and was politely rejected. 

So after that I was somewhat depressed for about a month (every day was a sad day) and after a month of depression I was over the hill and almost over her. Then she started dating my other friend (lets call him A).

Before all of this, I was in good standing with A and we were buddy-buddy. I am doing my best not to be jealous but the timing and the context was icing on the cake. Due to the interconnectivity of all of my friends and A/B, my jealousy, anger, and aggressiveness (although so subtle) is making things tense and awkward.

I don't want to ruin my friendships and I don't want to be an asshole, but I'm doing just that. Please help

[Sidenote]

I'm normally a nice guy but this whole ordeal has been a rollercoaster for me and is pushing me to my limit. I'm sure you can imagine it but I loved that girl (and still do) alot. I wan't her to be happy, but my feelings are getting in the way.
user
I'm a jealous asshole and I can't stop
assistant
So..... Three years ago I got a crush on my best friend (lets call her B) and it has been festering ever since (to the point of borderline psychosis). About a month and a half ago I finally confessed my affection and was politely rejected. 

So after that I was somewhat depressed for about a month (every day was a sad day) and after a month of depression I was over the hill and almost over her. Then she started dating my other friend (lets call him A).

Before all of this, I was in good standing with A and we were buddy-buddy. I am doing my best not to be jealous but the timing and the context was icing on the cake. Due to the interconnectivity of all of my friends and A/B, my jealousy, anger, and aggressiveness (although so subtle) is making things tense and awkward.

I don't want to ruin my friendships and I don't want to be an asshole, but I'm doing just that. Please help

[Sidenote]

I'm normally a nice guy but this whole ordeal has been a rollercoaster for me and is pushing me to my limit. I'm sure you can imagine it but I loved that girl (and still do) alot. I wan't her to be happy, but my feelings are getting in the way.
user
Dating best friend's best friend. Help me not
assistant