diff --git a/src/data-structures/graphs/graph.js b/src/data-structures/graphs/graph.js index 1e01f88..02b8d70 100644 --- a/src/data-structures/graphs/graph.js +++ b/src/data-structures/graphs/graph.js @@ -252,7 +252,7 @@ class Graph { } } -Graph.UNDIRECTED = Symbol('directed graph'); // two-ways edges -Graph.DIRECTED = Symbol('undirected graph'); // one-way edges +Graph.UNDIRECTED = Symbol('undirected graph'); // two-way edges +Graph.DIRECTED = Symbol('directed graph'); // one-way edges module.exports = Graph;