Hi All,

I have a graph set up like this:

A = matrix([[0,1,1,0],[1,0,1,1],[1,1,0,1],[0,1,1,0]])
G = Graph(A)

and I want to edge colour it. Using the available commands I will get the 
following:

edge_coloring(G)
​[[(0, 1), (2, 3)], [(0, 2), (1, 3)], [(1, 2)]]


That's all fine and dandy and is indeed a proper edge coloring of the graph. 
But what if I want to draw the edge colouring? I've tried using the same method 
as drawing a vertex coloring:


T = edge_coloring(G) 
G.show(partition=T)


but to no avail. Can anyone help?


Thanks


Rhyd


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

Reply via email to