Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
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
Create a Paclet
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`
H
y
p
e
r
g
r
a
p
h
R
u
l
e
H
y
p
e
r
g
r
a
p
h
R
u
l
e
[
i
n
p
u
t
,
o
u
t
p
u
t
]
m
a
k
e
a
h
y
p
e
r
g
r
a
p
h
r
e
w
r
i
t
i
n
g
r
u
l
e
f
r
o
m
a
n
i
n
p
u
t
a
n
d
o
u
t
p
u
t
h
y
p
e
r
g
r
a
p
h
s
Examples
(
1
)
Basic Examples
(
1
)
Make a hypergraph rule:
I
n
[
1
]
:
=
H
y
p
e
r
g
r
a
p
h
R
u
l
e
,
O
u
t
[
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:
I
n
[
2
]
:
=
/
/
Contents cannot be rendered at this time; please try again later
O
u
t
[
2
]
=
H
y
p
e
r
g
r
a
p
h
,
M
a
t
c
h
V
e
r
t
i
c
e
s
{
1
,
2
,
3
,
4
,
5
}
,
M
a
t
c
h
E
d
g
e
s
{
{
1
,
2
}
,
{
3
,
4
,
5
}
}
,
N
e
w
V
e
r
t
i
c
e
s
{
x
.
9
3
,
x
.
9
4
}
,
N
e
w
E
d
g
e
s
{
{
1
,
2
}
,
{
4
,
5
}
,
{
x
.
9
3
,
x
.
9
4
,
4
}
}
,
D
e
l
e
t
e
d
V
e
r
t
i
c
e
s
{
3
}
,
R
u
l
e
V
e
r
t
e
x
M
a
p
{
1
1
,
2
2
,
3
3
,
4
4
,
5
5
,
6
x
.
9
3
,
7
x
.
9
4
}
,
H
y
p
e
r
g
r
a
p
h
,
M
a
t
c
h
V
e
r
t
i
c
e
s
{
1
,
3
,
4
,
5
}
,
M
a
t
c
h
E
d
g
e
s
{
{
1
,
3
}
,
{
3
,
4
,
5
}
}
,
N
e
w
V
e
r
t
i
c
e
s
{
x
.
9
3
,
x
.
9
4
}
,
N
e
w
E
d
g
e
s
{
{
1
,
3
}
,
{
4
,
5
}
,
{
x
.
9
3
,
x
.
9
4
,
4
}
}
,
D
e
l
e
t
e
d
V
e
r
t
i
c
e
s
{
3
}
,
R
u
l
e
V
e
r
t
e
x
M
a
p
{
1
1
,
2
3
,
3
3
,
4
4
,
5
5
,
6
x
.
9
3
,
7
x
.
9
4
}
"
"