On Tue, 14 Oct 2014, Nathann Cohen wrote:

G=DiGraph({0:[1,2]})
G.set_edge_label(0,1,'Hi!')
G.set_edge_label(0,2,'Hi!')

(But ".relabel(lambda e: ...)" -syntax is easier, I think.)

Yes but we can't do the same for the vertices of a graph, of we would
have no way to differentiate them afterwards. It should really be a
plot parameter.

That was what I was thinking. I don't know if "relabel" is good name for parameter of plot(). Maybe not.

--
Jori Mäntysalo

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to