| 1 | // https://en.wikipedia.org/wiki/Neighbourhood_(graph_theory) |
| 2 | |
| 3 | class Graph { |
| 4 | // Generic graph: the algorithm works regardless of direction or weight |
| 5 | constructor() { |
| 6 | this.edges = [] |
nothing calls this directly
no outgoing calls
no test coverage detected