diff --git a/javascript/graph.js b/javascript/graph.js index aa24928..4b44121 100644 --- a/javascript/graph.js +++ b/javascript/graph.js @@ -1,6 +1,6 @@ class Graph { - constructor(draw, options) { + constructor(draw, options = {}) { this.draw = draw; this.dots = [] this.tris = []