02_user_tutorials:13_rgg:02_rgg-code-structure
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 02_user_tutorials:13_rgg:02_rgg-code-structure [2025/12/12 13:19] – [Lambda expressions] groimp | 02_user_tutorials:13_rgg:02_rgg-code-structure [2026/03/12 10:23] (current) – [XL Blocks - Rules] tim2 | ||
|---|---|---|---|
| Line 108: | Line 108: | ||
| ==== Queries ==== | ==== Queries ==== | ||
| - | In GroIMP the project graph is considered to hold almost all information on the simulation. Therefore it can also be seen as a knowledge graph. To retrieve this knowledge rgg uses the [[tutorials:common_graph_queries|XL query system]]. To use this queries in a java block they have to be framed by '' | + | In GroIMP the project graph is considered to hold almost all information on the simulation. Therefore it can also be seen as a knowledge graph. To retrieve this knowledge rgg uses the [[01_user_documentation:07_rgg_xl: |
| As shown in the example below in '' | As shown in the example below in '' | ||
| Line 165: | Line 165: | ||
| The concept of an replacement rule in XL follows the ' | The concept of an replacement rule in XL follows the ' | ||
| - | The left part can thereby be any [[tutorials:common_graph_queries|xl-query]]. | + | The left part can thereby be any [[02_user_tutorials:15_rules: |
| The right part (the production) is a collection of Nodes ( instances of either turtle commands, 3d objects or modules) which are linked by different edges. In the example below only successor- and branch-edges are used. A node that is separated to its predecessor by only a white space is added as a sucessor to the predecessor. A Node or a set of nodes framed by square brackets in that is added to the predecessor with a branch-edge. | The right part (the production) is a collection of Nodes ( instances of either turtle commands, 3d objects or modules) which are linked by different edges. In the example below only successor- and branch-edges are used. A node that is separated to its predecessor by only a white space is added as a sucessor to the predecessor. A Node or a set of nodes framed by square brackets in that is added to the predecessor with a branch-edge. | ||
02_user_tutorials/13_rgg/02_rgg-code-structure.1765541974.txt.gz · Last modified: 2025/12/12 13:19 by groimp
