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`
HypergraphUnion
​
HypergraphUnion
[hg1,hg2,…]
gives the hypergraph whose vertices are the union of the vertices of hg1, hg2, … and whose hyperedges are the concatenation of their hyperedges.
​
Details and Options
▪
HypergraphUnion
backs
Plus
on
Hypergraph
objects, so
hg1+hg2
and
HypergraphUnion
[hg1,hg2]
are the same operation.
▪
Hyperedges are concatenated, not merged: a hyperedge present in more than one argument appears once for each occurrence, with multiplicity preserved.
▪
Vertex and edge annotations (styles, labels, coordinates, and other per-vertex or per-edge options) are merged across the arguments; when several arguments annotate the same vertex or edge, the first non-
None
annotation encountered wins.
​
Examples  
(5)
Basic Examples  
(3)
Take the union of two hypergraphs that share a vertex:
In[1]:=
EdgeList
HypergraphUnion

Hypergraph
[{{1,2}}],
Hypergraph
[{{2,3}}]
Out[1]=
{{1,2},{2,3}}
_________________________________________________________________________________________________________________
Its vertex list is the union of the two vertex lists:
In[1]:=
VertexList
HypergraphUnion

Hypergraph
[{{1,2}}],
Hypergraph
[{{2,3}}]
Out[1]=
{1,2,3}
_________________________________________________________________________________________________________________
HypergraphUnion
backs
Plus
, so adding two hypergraphs gives the same result:
In[1]:=
EdgeList
Hypergraph
[{{1,2}}]+
Hypergraph
[{{2,3}}]
Out[1]=
{{1,2},{2,3}}
Scope  
(2)

SeeAlso
HypergraphHadamardProduct
 
▪
Hypergraph
 
▪
HyperedgeList
 
▪
EdgeSymmetry
RelatedGuides
▪
HypergraphFunctionality
""

© 2026 Wolfram. All rights reserved.

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