ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 12 Jul 2016 14:30:16 +0200How to construct hasse diagram in sage without arrows in edgeshttps://ask.sagemath.org/question/34064/how-to-construct-hasse-diagram-in-sage-without-arrows-in-edges/ My textbook says that in hasse diagram
edges wont be having arrows
vertices are represented by dots
arrows are assumed to be point upwards; so vertices are arranged like that
Is there any way to construct hasse diagram like that in Sage Mon, 11 Jul 2016 14:10:53 +0200https://ask.sagemath.org/question/34064/how-to-construct-hasse-diagram-in-sage-without-arrows-in-edges/Comment by tmonteil for <p>My textbook says that in hasse diagram</p>
<p>edges wont be having arrows
vertices are represented by dots
arrows are assumed to be point upwards; so vertices are arranged like that</p>
<p>Is there any way to construct hasse diagram like that in Sage </p>
https://ask.sagemath.org/question/34064/how-to-construct-hasse-diagram-in-sage-without-arrows-in-edges/?comment=34065#post-id-34065It seems you could not upload images, could you please give us a link ?Mon, 11 Jul 2016 16:35:13 +0200https://ask.sagemath.org/question/34064/how-to-construct-hasse-diagram-in-sage-without-arrows-in-edges/?comment=34065#post-id-34065Answer by slelievre for <p>My textbook says that in hasse diagram</p>
<p>edges wont be having arrows
vertices are represented by dots
arrows are assumed to be point upwards; so vertices are arranged like that</p>
<p>Is there any way to construct hasse diagram like that in Sage </p>
https://ask.sagemath.org/question/34064/how-to-construct-hasse-diagram-in-sage-without-arrows-in-edges/?answer=34072#post-id-34072Some examples of using and viewing Hasse diagrams in Sage might help you:
[1] http://ask.sagemath.org/question/29791/hasse-diagram-of-a-subset-of-a-poset/<br>
[2] http://ask.sagemath.org/question/29820/labelling-the-edges-of-poset/<br>
[3] https://sheaves.github.io/Partitions-and-Posets/<br>
[4] http://doc.sagemath.org/html/en/reference/combinat/sage/combinat/posets/hasse_diagram.html
There is also a Python package dedicated to Hasse diagrams, maybe that can help?
[5] http://pyhasse.org
If I understand correctly, you would like to view Hasse diagrams without arrowheads, is that it?
To do that, you could dig the code for showing Hasse diagrams, and modify it slightly to add
an appropriate option (`head=0`, I think) to the arrow-plotting code. We might want to make
this option available more easily in Sage for viewing Hasse diagrams...Tue, 12 Jul 2016 14:30:16 +0200https://ask.sagemath.org/question/34064/how-to-construct-hasse-diagram-in-sage-without-arrows-in-edges/?answer=34072#post-id-34072