User Tools

Site Tools


05_developer_tutorials:dev-guide:disposable-node

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
05_developer_tutorials:dev-guide:disposable-node [2025/02/19 15:51] – ↷ Links adapted because of a move operation gaetan05_developer_tutorials:dev-guide:disposable-node [2025/12/12 13:07] (current) – [Disposable Nodes/Fields] groimp
Line 4: Line 4:
  
 Once a Node is "transient" it will be automatically garbage collected by Java.  Once a Node is "transient" it will be automatically garbage collected by Java. 
-However, a Node can have attributes (fields in java) that require a specific dispose method (e.g [[01_user_documentation:groimp-platform:pointcloud|cloud]] objects, or [[01_user_documentation:groimp-platform:graphexplorerstructure|secondary graph]]).+However, a Node can have attributes (fields in java) that require a specific dispose method (e.g [[01_user_documentation:05_object:01_geometric:02_3d:01_primitive:12_point_cloud|cloud]] objects, or [[01_user_documentation:groimp-platform:graphexplorerstructure|secondary graph]]).
  
 In most cases, the nodes are not "informed" that they are made transient, thus it is not convenient to add a listener on them (see the GraphManager's [[05_developer_tutorials:dev-guide:base-objects:graph-listeners|listeners]]). Indeed, when a Node is deleted, if it has connected edges of Node that are not connected to the graph anymore, they all are deleted. But only the first one is visited.   In most cases, the nodes are not "informed" that they are made transient, thus it is not convenient to add a listener on them (see the GraphManager's [[05_developer_tutorials:dev-guide:base-objects:graph-listeners|listeners]]). Indeed, when a Node is deleted, if it has connected edges of Node that are not connected to the graph anymore, they all are deleted. But only the first one is visited.  
05_developer_tutorials/dev-guide/disposable-node.txt · Last modified: 2025/12/12 13:07 by groimp