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

Symbols

  • AdjacencyHypergraph
  • AdjacencyTensor
  • HighlightRule
  • HypergraphDraw
  • HypergraphIncidenceMatrix
  • HypergraphRule
  • HyperMatrixGraph
  • HyperMatrix
  • IncidenceHypergraph
  • SimpleHypergraphPlot
WolframInstitute`Hypergraph`
HypergraphRule
​
HypergraphRule[input,output]
make a hypergraph rewriting rule from an
input
and
output
hypergraphs
​
Examples  
(1)
Basic Examples  
(1)
Make a hypergraph rule:
In[1]:=
HypergraphRule

,

Out[1]=
Contents cannot be rendered at this time; please try again later
Apply a rule to a hypergraph to get a list of associations with information about each possible rewriting:
In[2]:=
//
Contents cannot be rendered at this time; please try again later
Out[2]=
Hypergraph
,MatchVertices{1,2,3,4,5},MatchEdges{{1,2},{3,4,5}},NewVertices{x.93,x.94},NewEdges{{1,2},{4,5},{x.93,x.94,4}},DeletedVertices{3},RuleVertexMap{11,22,33,44,55,6x.93,7x.94},Hypergraph
,MatchVertices{1,3,4,5},MatchEdges{{1,3},{3,4,5}},NewVertices{x.93,x.94},NewEdges{{1,3},{4,5},{x.93,x.94,4}},DeletedVertices{3},RuleVertexMap{11,23,33,44,55,6x.93,7x.94}
""

© 2025 Wolfram. All rights reserved.

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