private fun getNodesToSave(node: Node): Collection<Node>

Gets the related nodes to save of a node

Return

a collection with all related nodes to save

Parameters

node

the Node to get the related nodes to save of