Ask Your Question
1

How to construct hasse diagram in sage without arrows in edges

asked 2016-07-11 14:10:53 +0200

sagetux gravatar image

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

edit retag flag offensive close merge delete

Comments

It seems you could not upload images, could you please give us a link ?

tmonteil gravatar imagetmonteil ( 2016-07-11 16:35:13 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-07-12 14:30:16 +0200

slelievre gravatar image

Some examples of using and viewing Hasse diagrams in Sage might help you:

[1] http://ask.sagemath.org/question/2979...
[2] http://ask.sagemath.org/question/2982...
[3] https://sheaves.github.io/Partitions-...
[4] http://doc.sagemath.org/html/en/refer...

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...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-07-11 14:10:53 +0200

Seen: 1,089 times

Last updated: Jul 12 '16