From cec3b041202372dac71ba385142b743f8adb72a1 Mon Sep 17 00:00:00 2001 From: Adrian Mejia Date: Mon, 17 May 2021 20:24:46 -0400 Subject: [PATCH] chore(graph): fix typo --- src/data-structures/graphs/graph.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;