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`
CanonicalHypergraphRule
​
CanonicalHypergraphRule
[rule]
gives a canonical form of the
HypergraphRule
rule, with the vertices of both sides relabeled by consecutive integers.
​
​
CanonicalHypergraphRule
[input,output]
gives the canonical form of
HypergraphRule
[input,output]
.
​
Details and Options
▪
The canonical form is a
HypergraphRule
whose input and output sides share one common pool of vertices, renumbered
1,2,…
together, so that vertices shared between the two sides get consistent labels on both.
▪
The edge symmetry of each side is preserved in the canonical form; by default, all other annotations and styling options are dropped.
▪
The following options can be given, with the same meaning as for
CanonicalHypergraph
:
option
default
effect
Method
Automatic
the method used to find the canonical vertex relabeling
"Annotations"
False
whether to transfer vertex and edge annotations to the canonical form
​
Examples  
(6)
Basic Examples  
(1)
Find the canonical form of a rule that attaches a new edge to a matched pair of vertices:
In[1]:=
crule=
CanonicalHypergraphRule

HypergraphRule

Hypergraph
[{{a,b}}],
Hypergraph
[{{a,b},{b,c}}]
Out[1]=
Both sides share consistently relabeled vertices, so the matched edge appears the same way on each side:
In[2]:=
{EdgeList[crule["Input"]],EdgeList[crule["Output"]]}
Out[2]=
{{{2,3}},{{1,3},{2,3}}}
Scope  
(1)

Options  
(1)

Properties & Relations  
(1)

Possible Issues  
(2)

SeeAlso
CanonicalHypergraph
 
▪
HypergraphRule
 
▪
IsomorphicHypergraphQ
 
▪
Hypergraph
RelatedGuides
▪
HypergraphFunctionality
""

© 2026 Wolfram. All rights reserved.

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