i have this problem where i wanted to see all my connected components : 1-3-4-5 and all of the edges have “good” as the attribute
When I am given only
Start,End,Condition
1,5,good
3,4,
My current code is as below and I am not sure how to do it
G=nx.Graph()
G.add_edges_from([(1, 5), (3,4)],)