grex
grex copied to clipboard
Support for removeVertex
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'))
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.