Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
v1 = g.addVertex([name: 'Alice']);
v2 = g.addVertex([name: 'Bob']);
g.addEdge(v1, v2, 'knows', [since: '1970']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment