Skip to content

Commit 2d102a2

Browse files
committed
added g.loadGraphJSON() and g.saveGraphJSON() with respective helper data/graph-example-1.json file.
1 parent 960cb3c commit 2d102a2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

data/graph-example-1.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
{"name":"peter","age":35,"_id":6,"_type":"vertex"}
99
],
1010
"edges":[
11-
{"weight":0.5,"_id":"7","_type":"edge","_outV":1,"_inV":2,"_label":"knows"},
12-
{"weight":1.0,"_id":"8","_type":"edge","_outV":1,"_inV":4,"_label":"knows"},
13-
{"weight":0.4,"_id":"9","_type":"edge","_outV":1,"_inV":3,"_label":"created"},
14-
{"weight":1.0,"_id":"10","_type":"edge","_outV":4,"_inV":5,"_label":"created"},
15-
{"weight":0.4,"_id":"11","_type":"edge","_outV":4,"_inV":3,"_label":"created"},
16-
{"weight":0.2,"_id":"12","_type":"edge","_outV":6,"_inV":3,"_label":"created"}
11+
{"weight":0.5,"_id":7,"_type":"edge","_outV":1,"_inV":2,"_label":"knows"},
12+
{"weight":1.0,"_id":8,"_type":"edge","_outV":1,"_inV":4,"_label":"knows"},
13+
{"weight":0.4,"_id":9,"_type":"edge","_outV":1,"_inV":3,"_label":"created"},
14+
{"weight":1.0,"_id":10,"_type":"edge","_outV":4,"_inV":5,"_label":"created"},
15+
{"weight":0.4,"_id":11,"_type":"edge","_outV":4,"_inV":3,"_label":"created"},
16+
{"weight":0.2,"_id":12,"_type":"edge","_outV":6,"_inV":3,"_label":"created"}
1717
]
1818
}

0 commit comments

Comments
 (0)