Labeling in graphs
I am new to SAGE and am trying to experiment with it. What I am trying to do is something like this -
k = 1
G.add_edge((1,2), label= 'k')
Then it should label the edge as '1', not as 'k'. How would I do this?