Googles Graph Theory.
“In mathematics, graph theory is the study of graphs, which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of vertices, nodes, or points which are connected by edges, arcs, or lines.”
Looks like something I’ve possibly learned in maths but forgot exists .
Why are you asking? Do you have a maths exam?