entrendipity/gremlin-node — pull request #39 by inolen (2013-11-05 13:23:32+00:00)
Title: Graph interface additions, .v and .e fixes

- added newTransaction, shutdown, addVertex, addEdge
- made .v and .e to behave similar to their groovy brothers

g.v(24012, function (err, v) {
console.log(v.getPropertySync('user_id'));
});

g.v([24012, 12860], function (err, pipe) {
if (err) throw err;
pipe.toJSON(function (err, data) {
console.log(data);
});
});