Graph Representation – Edge List
From the post:
An Edge List is a form of representation for a graph. It maintains a list of all the edges in the graph. For each edge, it keeps track of the 2 connecting vertices as well as the weight between them.
Followed by C++ code as an example.
A hypergraph would require tracking of 3 or more connected nodes.