Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

Hypergraph

Guides

  • Hypergraph Functionality

Tech Notes

  • Hypergraph Rewriting

Symbols

  • AdjacencyHypergraph
  • AdjacencyTensor
  • CanonicalHypergraph
  • CanonicalHypergraphRule
  • ConnectedHypergraphQ
  • CyclicEdge
  • EdgeListTagged
  • EdgeMultiplicity
  • EdgeSymmetry
  • EnumerateHypergraphRules
  • EnumerateHypergraphs
  • EnumerateOrderedHypergraphs
  • EnumerateWolframModelRules
  • HighlightRule
  • HyperedgeList
  • Hyperedge
  • Hyperedges
  • HyperedgesQ
  • Hypergraph3D
  • HypergraphArityReduce
  • HypergraphDraw
  • HypergraphEmbedding
  • HypergraphHadamardProduct
  • HypergraphIncidenceMatrix
  • HypergraphIncidence
  • HypergraphInsertionBracketDegree
  • HypergraphInsertionBracket
  • HypergraphInsertion
  • HypergraphLargeQ
  • Hypergraph
  • HypergraphQ
  • HypergraphRuleDraw
  • HypergraphRule
  • HypergraphRuleQ
  • HypergraphToGraph
  • HypergraphTransitionMatrix
  • HypergraphUnion
  • HypermatrixGraph
  • Hypermatrix
  • HypermatrixQ
  • IncidenceHypergraph
  • IsomorphicHypergraphQ
  • KoszulSign
  • LinkedHypergraph
  • OrderedHypergraphToGraph
  • RandomAllHypergraph
  • RandomConnectedHypergraph
  • RandomHypergraph
  • RandomHypergraphRule
  • SetHypergraphSummaryThresholds
  • SimpleHypergraph
  • SimpleHypergraphPlot3D
  • SimpleHypergraphPlot
  • SimpleHypergraphQ
  • ToLabeledEdges
  • ToLabeledPatternEdges
  • ToOrderedHypergraph
  • ToPatternRules
WolframInstitute`Hypergraph`
EnumerateHypergraphs
​
EnumerateHypergraphs
[{{
m
1
,
a
1
},{
m
2
,
a
2
},...}]
generates all simple connected hypergraphs of a given signature, with
m
1
edges of arity
a
1
,
m
2
edges of arity
a
2
etc.
​
​
EnumerateHypergraphs
[signature,n]
generate hypergraphs having up-to
n
vertices.
​
​
EnumerateHypergraphs
[signature,{n}]
generate hypergraph with exactly n vertices.
​
​
EnumerateHypergraphs
[signature,vertexSpec,{connected,simple}]
specify whether hypergraphs should be
connected
or/and
simple
.
​
Examples  
(5)
Basic Examples  
(5)
Generate all possible ways to have a single unary and two binary edges together:
In[1]:=
EnumerateHypergraphs
[{{1,1},{2,2}}]
Out[1]=

,

​
Generate all hypergraphs with a single edge of each arity up-to 3:
In[1]:=
EnumerateHypergraphs
[{{1,1},{1,2},{1,3}}]
Out[1]=

,
,
,
,

​
Enumerate hypergraphs with 3 binary edges:
In[1]:=
EnumerateHypergraphs
[{{3,2}}]
Out[1]=

,
,

Enumerate only up-to 3 vertices:
In[2]:=
EnumerateHypergraphs
[{{3,2}},3]
Out[2]=


​
Enumerate hypergraphs with 2 binary edges:
In[1]:=
EnumerateHypergraphs
[{{2,2}}]
Out[1]=


Include non-connected hypergraphs:
In[2]:=
EnumerateHypergraphs
[{{2,2}},{False,True}]
Out[2]=

,

Include connected and non-simple hypergraphs:
In[3]:=
EnumerateHypergraphs
[{{2,2}},{True,False}]
Out[3]=

,
,
,

Include both non-connected and non-simple:
In[4]:=
EnumerateHypergraphs
[{{2,2}},{False,False}]
Out[4]=

,
,
,
,
,
,

​
Specify symmetry of edges:
In[1]:=
EnumerateHypergraphs
[{{2,2}},"EdgeSymmetry""Ordered"]
Out[1]=

,
,
,

In[2]:=
EnumerateHypergraphs
[{{3,2}},"EdgeSymmetry""Ordered"]
Out[2]=

,
,
,
,
,
,
,
,
,
,
,


© 2026 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com