WolframInstitute/Hypergraph

Hypergraph tools

Paclet Manifest

Web ContentResourceCreateNotebook

Headline ImageResourceCreateNotebook

SeedRandom[7777];
Hypergraph3D@RandomHypergraph[{10,{{7,1},{7,2},{7,3},{7,4}}},VertexLabels->Automatic,Background->Black,VertexStyle->White,VertexLabelStyle->White]

Basic DescriptionResourceCreateNotebook

A paragraph that describes your paclet in more detail.

DetailsResourceCreateNotebook

Additional information about the paclet.

Primary ContextResourceCreateNotebook

WolframInstitute`Hypergraph`

Main Guide PageResourceCreateNotebook

ExamplesResourceCreateNotebook

Initialization for ExamplesResourceCreateNotebook

<<PacletTools`
build=PacletBuild[ExpandFileName@NotebookDirectory[]];
PacletInstall[build["PacletArchive"],ForceVersionInstall->True];

$PublisherID="WolframInstitute";
DeleteObject[CloudObject["https://wolfr.am/Hypergraph.paclet"]];
CopyFile[build["PacletArchive"],CloudObject["https://wolfr.am/Hypergraph.paclet",Permissions->"Public"]];

PacletDirectoryUnload[NotebookDirectory[]];
Quiet@Remove["WolframInstitute`Hypergraph`*","WolframInstitute`Hypergraph`**`*"]
PacletDirectoryLoad[NotebookDirectory[]];

Get["WolframInstitute`Hypergraph`"];

Basic Examples

Symmetries:

h=Hypergraph@{{1},{1,2},{1,3,4}}

EdgeSymmetry[h]

Hypergraph:

h1=RandomHypergraph[{10,{{2,0},{3,1},{5,2},{4,3}}}]

h2=RandomHypergraph[{10,{{2,0},{3,1},{5,2},{4,3}}}]

h1+h2

h1**h2//TraditionalForm

Hypergraph adjacency tensor:

hg=CanonicalHypergraph@RandomHypergraph[{10,{{2,0},{3,1},{5,2},{4,3}}}]

AdjacencyTensor@%

CanonicalHypergraph@AdjacencyHypergraph[%]

IsomorphicHypergraphQ[%,%%%]

Hypergraph incidence matrix:

CanonicalHypergraph@RandomHypergraph[{10,{{2,0},{3,1},{5,2},{4,3}}}]

HypergraphIncidenceMatrix@%

CanonicalHypergraph@IncidenceHypergraph[%]

IsomorphicHypergraphQ[%,%%%]

HyperMatrix:

RandomHypergraph[{10,{{2,0},{3,1},{5,2},{4,3}}}]

HyperMatrix@%

CanonicalHypergraph@HyperMatrixGraph[%]

IsomorphicHypergraphQ[%,%%%]

Scope

Source & Additional Information

CreatorResourceCreateNotebook

Nikolay Murzin

Source Control RepositoryResourceCreateNotebook

https://github.com/WolframInstitute/Hypergraph

LicenseResourceCreateNotebook

KeywordsResourceCreateNotebook

hypergraph

CategoriesResourceCreateNotebook

Related Resource ObjectsResourceCreateNotebook

WolframModel

WolframModelPlot

EnumerateHypergraphs

Original Source References and AttributionsResourceCreateNotebook

Source, reference or citation

LinksResourceCreateNotebook

Link to other related material

CompatibilityResourceCreateNotebook

Wolfram Language VersionResourceCreateNotebook

13.2+

Operating SystemResourceCreateNotebook

EnvironmentsResourceCreateNotebook

Cloud SupportResourceCreateNotebook

Required FeaturesResourceCreateNotebook

DisclosuresResourceCreateNotebook

Author NotesResourceCreateNotebook

Additional information about limitations, issues, etc.