Mike Hansen wrote:
> Hello,
> 
> On Thu, Sep 25, 2008 at 9:50 AM, pong <[EMAIL PROTECTED]> wrote:
>> I'm still having problem in displaying the label of the edges using
>> DiGraph. I have read more from this group and tried:
>>
>> G=DiGraph({1:{1:['hola','hi'], 2:['two','dos']},2:{1:['one']}},
>> loops=True, multiedges=True)
>> G.edges()
>> [(1, 1, 'hi'), (1, 1, 'hola'), (1, 2, 'dos'), (1, 2, 'two'), (2, 1,
>> 'one')]
>>
>> G.show()
>>
>> I expect to see two loops from 1 to 1 labeled by 'hola' and 'hi',
>> etc...
>> but the result of G.show() only show one loop and no lables on the
>> edges.
>>
>> Can someone tell me what am I missing?
> 
> You need to explicitly ask for edge labels to appear on the plot:
> 
> G.show(edge_labels=True)
> 
> The plotting code for graphs definitely needs some work, but luckily
> there is someone working on it.  It looks like there is only one edge
> and one loop since they are drawn directly over each other.  The same
> thing is going on with the labels.  I hope we can get this fixed in
> the next release or two.


Who is working on it?

Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to