Getting NetworkX edge 'weight' to show in QGraphicsScene
问题 I've been trying to figure out how to get NetworkX to present very nicely into a QGraphicsScene . I need it to be able to show the 'weight' of each edge, which is the amount of times Company1 was in contact with Company2 . The scripts that I have below is a working demo of getting the Nodes and Edges presented into the GUI..but because I'm assigning only the Nodes and Edges, I cannot get the 'weight' or colors at that...but I think I have a way of assigning colors after the fact of placing