Skip to content

Commit 6369d53

Browse files
committed
Fixed saving weighted adjlists
1 parent 02505ae commit 6369d53

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graph-creator",
3-
"version": "0.8.1",
3+
"version": "0.8.2",
44
"main": "index.html",
55
"window": {
66
"height": 1024,

src/fileWrite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function makeAdjlist(nodeList){
9292
weight = '1';
9393
}
9494

95-
adjlist = adjlist + " {'weight': " + weight + '}';
95+
adjlist = adjlist + ' {"weight": ' + weight + '}';
9696
}
9797

9898
adjlist = adjlist + '\r\n';

0 commit comments

Comments
 (0)