Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Graph::createVertices() to return vertices and accept array of vertex IDs #19

Merged
merged 7 commits into from
May 13, 2013

Conversation

clue
Copy link
Member

@clue clue commented Mar 16, 2013

This PR improves Graph::createVertices() by returning created vertices instead of chainable Graph instance (slight BC break!).

Also, the method now also accepts an array of vertex IDs to be created and ensures it's an atomic operation that only succeeds if all vertices can be created (check for duplicates and invalid IDs).

Along with some unit tests.

clue added a commit that referenced this pull request May 13, 2013
Improve Graph::createVertices() to return vertices and accept array of vertex IDs
@clue clue merged commit 0171b9f into master May 13, 2013
@clue clue deleted the createvertices branch May 13, 2013 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant