Skip to content

Instantly share code, notes, and snippets.

@jbmusso
Created February 6, 2014 23:33
Show Gist options
  • Save jbmusso/8854735 to your computer and use it in GitHub Desktop.
Save jbmusso/8854735 to your computer and use it in GitHub Desktop.
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