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