A mathematical object that comprises
vertices interconnected with edges,
defined as an ordered pair of sets
\[\begin{equation*} G = (V, E), \end{equation*} \]
where | \(V\) | denotes the set of vertices and |
\(E\) | denotes the set of edges, |
with \(E\) different per its type: