05_developer_tutorials:dev-guide:disposable-node
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 05_developer_tutorials:dev-guide:disposable-node [2025/02/19 15:51] – removed - external edit (Unknown date) 127.0.0.1 | 05_developer_tutorials:dev-guide:disposable-node [2025/02/19 15:51] (current) – ↷ Links adapted because of a move operation gaetan | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ===== Disposable Nodes/ | ||
| + | |||
| + | A Node is considered deleted when it is removed from the graph. The Node is made " | ||
| + | |||
| + | Once a Node is " | ||
| + | However, a Node can have attributes (fields in java) that require a specific dispose method (e.g [[01_user_documentation: | ||
| + | |||
| + | In most cases, the nodes are not " | ||
| + | |||
| + | To ensure an object (that can be used as a Node's attribute) is disposed properly it should implements the [[https:// | ||
| + | |||
| + | ==== DisposableField interface ==== | ||
| + | |||
| + | In order to make the GraphManager dispose an attribute of a Node it (the field) simply needs to implement DisposableField. | ||
| + | |||
