Sorry for the poor wording and confusion.
By cutting off I mean: wipe out 'some node', a, b, c, d, all other nodes below, all relationships... I would like to say:
node.wipeOut()
and have the whole subgraph deleted - after this operation, the graph looks like the following:
REF_NODE
Of course, if the graph looks like this:
REF_NODE
| |
| |
some another
node node
and I invoke
'some node'.wipeOut()
the graph looks like this:
REF_NODE
|
|
another
node
(again, with no trace of orphaned 'some node', a, b, c, or d).
Regards,
wujek