Write a function to transform an `OpenHypergraph<O, A>` into an `OpenHypergraph<O, Spider<A>>`. This should guarantee *acyclicity* and *monogamicity* of the resulting open hypergraph.
Write a function to transform an
OpenHypergraph<O, A>into anOpenHypergraph<O, Spider<A>>.This should guarantee acyclicity and monogamicity of the resulting open hypergraph.