Hi Fidel, That looks great! We might be able to also take advantage of the styles/themes that tkz-graph implements to quickly get a variety of {consistent|pleasing} output options with very little code on our end. ;-)
Three exams to give and grade today, but I'll write more later about getting this into Trac, etc. Rob On May 4, 1:13 am, Fidel <fidel.barr...@gmail.com> wrote: > Hello Rob, > > I spent some time this weekend coding a function to get the tkz-graph > string of a graph. You can find what I have got in > > http://fidelinux.googlepages.com/tkz-string.sage > > That is what I have got so far, it has very basic functionality. I > would still like to incorporate edge and vertex colors as well as > capability for drawing directed graphs. > > I also did a minor modification to the graph.py file in sage, I added > a simple check_pos_validity function. > > I have no idea about how to use the trac system but I would be very > happy to learn, so I can start to contribute in sage. > > Thanks for your attention. > > Gretings, > Fidel > > On May 4, 1:50 am, Rob Beezer <goo...@beezer.cotse.net> wrote: > > > I've created a ticket for implementing latex(g) using tkz-graph > > athttp://trac.sagemath.org/sage_trac/ticket/5975 > > > I've spent some time with tkz-graph and it should be relatively > > straightforward to get some basic functionality implemented into Sage > > by building on this. John Palmieri has started implementing some ways > > to customize Latex output (such as choices for matrix delimiters), and > > tkz-graph seems to have 8 or 10 pre-defined styles (sort of like > > Beamer does), so being able to select one of those styles might be a > > good first approximation. When I get the chance, i'll try to put up a > > demonstration patch for discussion. > > > I'm looking forward to more from Rado with his Javascript editor. > > > David and Nicolas - I'll be at Sage Days 15 for most of the week (I > > live close by, and will need to miss Sunday). If you have time > > between other projects, I'd enjoy making some progress on the items > > mentioned in this thread. > > > Rob --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---