HypergraphToGraph & IsomorphicHypergraphQ
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"]
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!