1 | initial version |
Maybe use the undirected Hasse diagram ?
sage: P=posets.PentagonPoset()
sage: G=P.hasse_diagram().to_undirected()
sage: G.matching()
[(2, 3, None), (1, 4, None)]