Node

Remove all edges between the node (or nodes) and the project graph. After the edges are deleted, all nodes in the graph that are not connected to it anymore are marked as transient. Transient nodes cannot be queried, and will be properly deleted by the java garbage collector.

Only the edges of the deleted node(s) are included in the transaction responsible for the deletion. Thus, children nodes of the deleted nodes are not “notified” in the transaction that they are set transient.

It is possible to ensure that a Node dispose a specific field when set transient by having the field implements de.grogra.persistence.DisposableField. The field needs to then, provide a implementation of the public void disposeField() method.