Hello,

As mentioned in

http://groups.google.com/group/sage-devel/browse_thread/thread/834be3b28bd7919f/45629a29507db4cb?lnk=gst&q=tkz#45629a29507db4cb

I am trying to write latex(G) for a graph.

I now have a newer version which supports vertex, edge and label
colors, as well as different styles from the tkz-graph package. There
is already a ticket

http://trac.sagemath.org/sage_trac/ticket/5975

for this. This is the first time I'm contributing some code to sage,
so I don't know how to proceed.

I just incorporated the code into the graph.py, thanks to Jason Grout,
Nick Alexander and Rob Beezer for their quick replies.

The edited graph.py file can be found in

http://fidelinux.googlepages.com/graph.py

I hope the code is useful.

There are still some things missing, such as support for multiple
edges, loops and directed graphs. I hope I can get that done by next
week.

Another thing to mention is that the output of this implementation may
be different for the same graph if the layout parameter is specified.

Thank you very much for your help.

Best Regards,
Fidel
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to