jkschneider / pappus-graph-projection

Map any Java object model to a Tinkerpop compatible graph!
Apache License 2.0
14 stars 0 forks source link

cascadeDelete usage #10

Open asker123 opened 10 years ago

asker123 commented 10 years ago

Hi All,

I have a requirement to delete an entire json object. I provide with the uuid of the vertex to start with and then call cascade delete on it.

According to the wiki, I understood that the entire tree under that vertex should get deleted.

But when I use it, it deletes the vertex I started with and all the adjacent vertices.

It doesn't delete anything else in the tree. Like the third and fourth... level vertices.

Is this the expected behaviour? or I am missing something here?

Your help is appreciated.

Thanks, Nirali