-- -*- M2-comint -*- hash: 7677342034110404938

i1 : R = QQ[a,b,c,d,e];

i2 : c5 = graph {a*b,b*c,c*d,d*e,e*a}; -- graph of the 5-cycle

i3 : complementGraph c5 -- the graph complement of the 5-cycle

o3 = Graph{"edges" => {{a, c}, {b, e}, {b, d}, {c, e}, {a, d}}}
           "ring" => R
           "vertices" => {a, b, c, d, e}

o3 : Graph

i4 : c5hypergraph = hyperGraph c5 -- the 5-cycle, but viewed as a hypergraph

o4 = HyperGraph{"edges" => {{a, b}, {b, c}, {c, d}, {a, e}, {d, e}}}
                "ring" => R
                "vertices" => {a, b, c, d, e}

o4 : HyperGraph

i5 : complementGraph c5hypergraph

o5 = HyperGraph{"edges" => {{c, d, e}, {a, d, e}, {a, b, e}, {b, c, d}, {a, b, c}}}
                "ring" => R
                "vertices" => {a, b, c, d, e}

o5 : HyperGraph

i6 : 
