Skip to content

HypergraphToGraph & IsomorphicHypergraphQ

Compare
Choose a tag to compare
@maxitg maxitg released this 04 Nov 09:53
· 109 commits to master since this release
8114c05

This release introduces HypergraphToGraph. It can convert ordered hypergraphs to graphs in multiple ways, either preserving distances or in a lossless way:

In[] := Graph3D @ HypergraphToGraph[
  WolframModel[
    {{1, 2, 2}, {3, 4, 5}} -> {{5, 6, 6}, {7, 2, 5}, {8, 2, 6}, {2, 1, 3}}, Automatic, 50, "FinalState"],
  "StructurePreserving"]

image

Thanks to that lossless conversion, we now also have IsomorphicHypergraphQ.

Also, we added "MultiwayQ" property, which can tell you if a given evolution contains any multiway branching.

Kudos to @wawo9193, @daneelsan, and @taliesinb for contributing to this release!