#16865: Dot2tex reverses Poset.show() upside down
--------------------------------------+------------------------
       Reporter:  jmantysalo          |        Owner:
           Type:  defect              |       Status:  new
       Priority:  minor               |    Milestone:  sage-6.7
      Component:  packages: optional  |   Resolution:
       Keywords:  poset, dot2tex      |    Merged in:
        Authors:                      |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+------------------------

Comment (by nthiery):

 Replying to [comment:9 ncohen]:
 > > I have proposed two strategies for this in [comment:2]. Which one do
 you prefer. If we go for the first one, what's the right way for storing
 such a ploting option in the graph?
 >
 > Storing a plotting option in the graph? Why on earth would you do that?
 `O_o`

 So that when you create a hasse diagram, and later plot it, it remembers
 to plot it going up. But I can live without this feature.

 > Why can't you just make the default be to plot the top element on top,
 and only do something different if some guy calls
 `my_poset.show(mess_up_top_and_bottom=True)` ?

 That is not the question. The goal is to always plot the poset with top on
 top.

 But to plot a poset we need to plot a digraph. So either it's ok if the
 acyclic layout of graphs always points up. Or we need to have an option
 (of the graph, or just of Graph.plot) to specify whether the acyclic
 layout goes up or down.

--
Ticket URL: <http://trac.sagemath.org/ticket/16865#comment:12>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

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

Reply via email to