diff --git a/src/data-structures/graph/Graph.js b/src/data-structures/graph/Graph.js index d9ac9089..e2ef20b7 100644 --- a/src/data-structures/graph/Graph.js +++ b/src/data-structures/graph/Graph.js @@ -28,6 +28,7 @@ export default class Graph { /** * @param {GraphVertex} vertex + * @returns {GraphVertex[]} */ getNeighbors(vertex) { return vertex.getNeighbors();