👉 Nodality is a concept in computer science and network theory that refers to a property of nodes or vertices in a graph. It describes how many edges are needed to connect two nodes if we assume they are connected by an edge, but not necessarily by any other means. In a simple undirected graph, nodality can be defined as the number of edges between two nodes. For example, in the following graph: ``` 0 / \ 1 2