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

Support for removeVertex #53

Open
gching opened this issue Nov 9, 2014 · 1 comment
Open

Support for removeVertex #53

gching opened this issue Nov 9, 2014 · 1 comment

Comments

@gching
Copy link

gching commented Nov 9, 2014

Is there support for removing a vertex? For example, given that you find a vertex by its name index

g.removeVertex(g.V('name','uniq_name'))
@jbmusso
Copy link
Owner

jbmusso commented Nov 10, 2014

The removeVertex() method hasn't yet been added to the GraphWrapper object. In the meantime, you can use gRex in printf mode (see this section in the documentation) and manually add this line to your script.

The printf mode also has the benefit of allowing bound parameter to be sent along your script (for better performance and security).

I'll leave this issue open until I add this method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants