01_user_documentation:07_rgg_xl:03_query_graph
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 01_user_documentation:07_rgg_xl:03_query_graph [2025/09/03 09:11] – gaetan | 01_user_documentation:07_rgg_xl:03_query_graph [2025/11/21 16:17] (current) – gaetan | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Model graph ====== | ====== Model graph ====== | ||
| - | This section presents the model graphs. Model graphs (or query graphs) are used at runtime to perform queries onto a [[: | + | This section presents the model graphs. Model graphs (or query graphs) are used at runtime to perform queries onto a [[: |
| + | |||
| + | It is possible to specify which model graph is to be used for a given rule with the syntax: | ||
| + | <code java> | ||
| + | RGGGraph qgraph = rgggraph(); // get or create a rgggraph | ||
| + | qgraph.[ /* a rule block */]; // to use the model graph on the rule block | ||
| + | qgraph.(* /* a query expr */ *); // or on a query expression | ||
| + | </ | ||
| ====== ====== | ====== ====== | ||
01_user_documentation/07_rgg_xl/03_query_graph.1756883460.txt.gz · Last modified: 2025/09/03 09:11 by gaetan
