Ask Your Question

Revision history [back]

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?

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 1

G.add_edge((1,2), label= 'k') 'k')

Then it should label the edge as '1', not as 'k'. How would I do this?

click to hide/show revision 3
retagged

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?

click to hide/show revision 4
retagged

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?

click to hide/show revision 5
retagged

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?