ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 31 Jan 2015 14:01:13 -0600how do I set label of multiedges graphhttp://ask.sagemath.org/question/25659/how-do-i-set-label-of-multiedges-graph/ Hello,
Let me consider a graph that I often need to use: the graph with one vertex and three loops.
sage: G = DiGraph([(0,0,'a'), (0,0,'b'), (0,0,'c')])
Is there a way to change the labels after the creation? Because
sage: G.set_edge_label(0,0,'d')
Traceback (most recent call last):
...
RuntimeError: Cannot set edge label, since there are multiple edges from 0 to 0.
VincentvdelecroixSat, 31 Jan 2015 14:01:13 -0600http://ask.sagemath.org/question/25659/