UV align edges

Hi guys,

I have a question about aligning edges during UV mapping. I would like to select a few edges and straighten them at the same time.
Is there any tool or add-ons in blender which can align edges as max does.
I tried “rectify” from TexTools but it doesn’t work correctly in this situation. Especially when I have some triangles there.

Example from max: