Gromacs: Residue interaction force types Contact Map

Hi all, I don’t know where to start to draw a residue contact map that contains the type of interaction forces, such as hydrogen bonds, salt bridges or hydrophobic interactions, and I don’t know how to analyze hydrophobic interactions in gromacs. I hope someone can give me some advice or how do you do it?
I would like to make a diagram similar to the one linked below:
(https://share.weiyun.com/i9PnmAq5)

Does anyone have any good suggestions or tutorials?

Hello. Did you find any way to do it?