groimp-platform:xl-rules
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
groimp-platform:xl-rules [2025/01/20 17:59] – wkurth | groimp-platform:xl-rules [2025/01/20 18:06] (current) – wkurth | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | GroIMP includes | + | GroIMP includes |
| Rule symbol | What it does | | | Rule symbol | What it does | | ||
- | | %%==>%% | Rule in Lindenmayer-form. Graph replacement rule, where one subgraph (often only one object) is replaced by another graph. The connections between the host graph and the newly-inserted graph are recovered. That means that if, e.g., in a one-dimensional graph [ A B C D ] the node B is replaced by a node G, then G will be inserted into the graph with the original connecting edges to the neighbourhood of the node B: [ A G C D ]. The blank space indicates here a successor edge in XL. Axiom %%==>%% A B C D; B %%==>%% G; - **Note:** This is a different type of rule than the instantiation rules (which also use %%==> | + | | %%==>%% | Rule in Lindenmayer-form. Graph replacement rule, where one subgraph (often only one object) is replaced by another graph. The connections between the host graph and the newly-inserted graph are recovered. That means that if, e.g., in a one-dimensional graph [ A B C D ] the node B is replaced by a node G, then G will be inserted into the graph with the original connecting edges to the neighbourhood of the node B: [ A G C D ]. The blank space indicates here a successor edge in XL. Axiom %%==>%% A B C D; B %%==>%% G;| |
+ | | |**Note:** This is a different type of rule than the instantiation rules (which also use %%==> | ||
| %%==>> | | %%==>> | ||
| %%::>%% | Update rule. This rule type does not change the structure of the graph. It is used to change the attributes of the objects (nodes) of the graph. c:C ::> {c[length] = c[length] * 20; } | | | %%::>%% | Update rule. This rule type does not change the structure of the graph. It is used to change the attributes of the objects (nodes) of the graph. c:C ::> {c[length] = c[length] * 20; } | |
groimp-platform/xl-rules.1737392393.txt.gz · Last modified: 2025/01/20 17:59 by wkurth