The question is that what does it save?
It saves the entire subgraph that you have, the entity you're calling the save()
on acts as an anchor node. In other words, the save()
function operates recursively, so changes made to any connected nodes or relationships will be saved as well.
The relationships and nodes that are not in the subgraph won't be affected.