Ask Your Question

sanjith's profile - activity

2013-07-06 16:55:18 +0200 commented answer Labeling in graphs

Thank you, it works.

2013-07-06 16:55:02 +0200 received badge  Supporter (source)
2013-07-06 16:03:32 +0200 received badge  Editor (source)
2013-07-06 16:02:35 +0200 asked a question 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?