Skip to content

Instantly share code, notes, and snippets.

@ziyoshams
Created July 24, 2018 23:51
Show Gist options
  • Save ziyoshams/5d340f3aeb1113d48dc56a0ff62eba0a to your computer and use it in GitHub Desktop.
Save ziyoshams/5d340f3aeb1113d48dc56a0ff62eba0a to your computer and use it in GitHub Desktop.
Graph consructor
class Graph {
constructor() {
this.AdjList = new Map();
}
// BASIC METHODS
// addVertex(vertex) {}
// addEdge(vertex, node) {}
// print() {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment