How to deal with disrespectful and bitchy ex girlfriend?

She is angry, rude, mean , disrespectful, bitchy, she talks bad about me to her friends...
I did not do anything bad to her.
I did not say her bad words for 6 years.
I know a lot of secrets about her. I still keep it for myself... She ghosted me because I was busy.
I did not bother about that I just continue with my life.
She try to show me who is boss 😁
She hate me because I did not chase her.
I know her for 6 years.
She flake people a lot of, she has sense of grandiosity, high value complex...

Last time when she was rude and mean to me I front of her friends.
I did not say anything I just put huge genuine smile.
I do not know how but it is genuine. She almost explode from anger.
Any advice how to behave In situation like that?
And how to behave when I accidentally bump into her?
What to do about her bad mouthing?
I want just to be bigger and more mature person then she is.
How to deal with disrespectful and bitchy ex girlfriend?
Post Opinion