I'm working on reconstructing the article: "Social network analysis of manga: similarities to real-world social networks and trends over decades". This is the link to the article: text. I am having trouble working and coding relating to bipartite graph. Although they said that the files can be read using read_weighted_edgelist in networkx, i can not plot the same graph with thickness for edges.
I hope to get some advice and help for the two below problems.
This is the code i have done:
import networkx as nx
import matplotlib.pyplot as plt
G = nx.Graph()
G = nx.read_weighted_edgelist('D:\TS2VG\Manga_network_data\Static\Static_One_Piece.edgelist')
pos = nx.random_layout(G)
nx.draw(G, pos, with_labels = True)
plt.show()


Yes, it's counter-intuitive but to make the edges' thickness proportional to their weights, you need to do it manually when calling
draw_network_egdes(even though, initially, you're building the graph from a weighted edgelist.)Also, from what I can understand in the image you shared, this applies only to a specific node :
Preview :