Skip to content

Commit 532d24d

Browse files
committed
Fix broken graph display
1 parent 8576d21 commit 532d24d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/DataStructures/Graph/GraphTracer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class GraphTracer extends Tracer {
145145
const scaleSize = 30;
146146
const x = coordinates[i][0] * scaleSize;
147147
const y = -coordinates[i][1] * scaleSize;
148-
this.addNode(i, nodeValue, undefined, x, y);
148+
this.addNode(i, nodeValue, undefined, undefined, undefined, x, y);
149149
}
150150

151151
for (let j = 0; j < array2d.length; j++) {

0 commit comments

Comments
 (0)