It is a node next to the current node, that can be accessed through the edge. Depends on the type of graph (directed or undirected), a node might have from one up to 3 neighbours.
It is a node next to the current node, that can be accessed through the edge. Depends on the type of graph (directed or undirected), a node might have from one up to 3 neighbours.