tutorials:custom_storing_node
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:custom_storing_node [2025/07/16 14:21] – [Using custom edges] gaetan | tutorials:custom_storing_node [2025/07/16 14:33] (current) – gaetan | ||
---|---|---|---|
Line 200: | Line 200: | ||
One the left: before the " | One the left: before the " | ||
+ | * If B do replace A. And the relationship between B and A must exists even though A is not part of the **visible** part of the graph. | ||
+ | <code java> | ||
+ | public void grow()[ | ||
+ | a:A ==> B [-e->a]; | ||
+ | ] | ||
+ | </ | ||
+ | will produce the graph: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | You can see that the Node A is still part of the main graph. It is XL query-able and reachable from B by following the edge EDGE_O. However, as the Node A is not connected to the Root by neither BRANCH, nor SUCCESSOR edge, it will not be displayed (not part of the 3d view, and raytracer). | ||
+ | |||
+ | **Note:** In the example we used EDGE_O, there are actually 13 usable unique bit-wise edge type defined in Library: EDGE_0 to EDGE_12. But it is also possible to use any Integer as " |
tutorials/custom_storing_node.1752668471.txt.gz · Last modified: 2025/07/16 14:21 by gaetan