Thank you for your reply. What is the object G here. Which data did you take?
And I tried doing the network but it didn’t look good and I wanted to increase the distance between the clusters here [How to increase the distance between the clusters using igraph?]