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

Tutorials

  • Hypergraph Rewriting

Guides

  • Hypergraph Functionality

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
Hypergraph Functionality
The Hypergraph paclet processes hypergraphs as symbolic mathematical structures and produces effective visualizations. A
Hypergraph
encodes its hyperedges as vertex lists, each carrying a symmetry type ("Ordered", "Unordered", "Cyclic" or "Directed") that determines which vertex arrangements represent the same edge. On top of the core object the paclet provides interactive drawing, 2D and 3D rendering, canonicalization and isomorphism testing, matrix and tensor representations, exhaustive and random generation, and hypergraph rewriting rules in the style of Wolfram model systems.
Core objects
Hypergraph
— construct a hypergraph from a list of hyperedges, with per-edge symmetry and styling
Hypergraph3D
— construct a hypergraph with a three-dimensional layout
Hyperedges
— the edge container underlying a hypergraph
Hyperedge
,
CyclicEdge
— edge specifications with explicit symmetry
HypergraphRule
— a rewriting rule transforming matches of one hypergraph into another
Visualization
SimpleHypergraphPlot
,
SimpleHypergraphPlot3D
— render a hypergraph in 2D or 3D
HypergraphDraw
,
HypergraphRuleDraw
— draw and edit hypergraphs and rules interactively
HighlightRule
— highlight the matches of a rule inside a hypergraph
HypergraphEmbedding
— vertex coordinates of a hypergraph embedding
LinkedHypergraph
— display a hypergraph as a linked, node-framed diagram
SetHypergraphSummaryThresholds
— configure when large hypergraphs display as summary boxes
Properties and predicates
HypergraphQ
,
HypergraphRuleQ
,
HyperedgesQ
,
HypermatrixQ
— validity predicates
SimpleHypergraphQ
,
ConnectedHypergraphQ
,
HypergraphLargeQ
— structural predicates
EdgeSymmetry
— the permutation symmetry of each hyperedge
EdgeListTagged
,
EdgeMultiplicity
,
HyperedgeList
— edge accessors
HypergraphIncidence
— the hyperedges incident to each vertex
Canonicalization
CanonicalHypergraph
— canonical form of a hypergraph under vertex relabeling and edge symmetry
CanonicalHypergraphRule
— canonical form of a hypergraph rewriting rule
IsomorphicHypergraphQ
— test whether two hypergraphs are isomorphic
Transformations
HypergraphUnion
— union of hypergraphs, also available as
Plus
HypergraphHadamardProduct
— shared hyperedges with multiplied multiplicities, also available as
NonCommutativeMultiply
SimpleHypergraph
— merge duplicate hyperedges and drop self-loops
ToOrderedHypergraph
— expand every hyperedge over its symmetry group
HypergraphArityReduce
— reduce hyperedges to fixed-arity subsets
HypergraphToGraph
,
OrderedHypergraphToGraph
— convert a hypergraph to a graph
Pattern rules
ToPatternRules
— convert a hypergraph rule to a SetReplace-style pattern rule
ToLabeledEdges
,
ToLabeledPatternEdges
— labeled edge encodings used for rule matching
Enumeration and random generation
EnumerateHypergraphs
— all canonical hypergraphs with a given edge signature
EnumerateOrderedHypergraphs
— all canonical hypergraphs with ordered hyperedges
EnumerateHypergraphRules
— all canonical hypergraph rewriting rules with a given signature
EnumerateWolframModelRules
— the raw edge-list rules behind the rule enumeration
RandomHypergraph
— a pseudorandom simple connected hypergraph with a given signature
RandomAllHypergraph
,
RandomConnectedHypergraph
— direct pseudorandom constructions
RandomHypergraphRule
— a pseudorandom hypergraph rewriting rule
Matrices and tensors
AdjacencyTensor
— the adjacency tensor of a hypergraph
AdjacencyHypergraph
— the hypergraph with a given adjacency tensor
HypergraphIncidenceMatrix
— the vertex-edge incidence matrix of a hypergraph
IncidenceHypergraph
— the hypergraph with a given incidence matrix
HypergraphTransitionMatrix
— the random-walk transition matrix of a hypergraph
Hypermatrix
— the hypermatrix representation of a hypergraph
HypermatrixGraph
— the hypergraph with a given hypermatrix
Algebraic operations
HypergraphInsertionBracket
— the insertion bracket of hypergraphs
HypergraphInsertionBracketDegree
— the degree of a hypergraph in the insertion bracket algebra
HypergraphInsertion
— all insertions of one hypergraph into another
KoszulSign
— the Koszul sign of a graded permutation
""

© 2026 Wolfram. All rights reserved.

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