I've tested the new poset drawings now, and I like what I see. Good work! Anders
On Aug 11, 8:19 pm, "Franco Saliola" <[EMAIL PROTECTED]> wrote: > Hello Anders, > > On Mon, Aug 11, 2008 at 5:23 AM, Anders Claesson > > <[EMAIL PROTECTED]> wrote: > > > Thanks Franco, I do understand how this works now. > > >> ... > >> But I think that the object returned by P.hasse_diagram() should not > >> be this underlying data structure but a labelled graph instead? (I'd > >> appreciate some feedback here.) > > > I would prefer it to be the labeled graph. > > Thanks for the reply. I've decided that to change the hasse_diagram > method to return a labelled graph and add a new method to access the > underlying HasseDiagram data structure. > > >> The problem here is my poor implementation of poset drawing: > >> ... > >> The good news is that I am attending Sage > >> Days 9 right now, which is focusing on graphics and visualization, so > >> I'm hoping to improve the poset drawing code. > > > Good news indeed. It would be very helpful to have better drawings. > > Robert Miller and I sat down yesterday and worked on this a bit. The > change has been merged into 3.1.alpha1, so it should appear in 3.1. > See the trac ticket here: > > http://trac.sagemath.org/sage_trac/ticket/3801 > > There is some randomness in the plotting so each time you plot the > poset it will look slightly different. The patch also adds a save_pos > option to plot that saves the position computed during the plotting > (the position is then accessible by get_pos()). So one could then > tweak the position manually. > > Franco > > -- --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@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-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---