<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://dokuwiki.grogra.de/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://dokuwiki.grogra.de/feed.php">
        <title>GroIMP wiki - 01_user_documentation:06_graph:03_graphs:01_project_graph</title>
        <description></description>
        <link>https://dokuwiki.grogra.de/</link>
        <image rdf:resource="https://dokuwiki.grogra.de/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-05-16T10:11:35+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://dokuwiki.grogra.de/doku.php?id=01_user_documentation:06_graph:03_graphs:01_project_graph:01_main_graph&amp;rev=1763737054&amp;do=diff"/>
                <rdf:li rdf:resource="https://dokuwiki.grogra.de/doku.php?id=01_user_documentation:06_graph:03_graphs:01_project_graph:02_meta_graph&amp;rev=1763726761&amp;do=diff"/>
                <rdf:li rdf:resource="https://dokuwiki.grogra.de/doku.php?id=01_user_documentation:06_graph:03_graphs:01_project_graph:03_type_graph&amp;rev=1763727226&amp;do=diff"/>
                <rdf:li rdf:resource="https://dokuwiki.grogra.de/doku.php?id=01_user_documentation:06_graph:03_graphs:01_project_graph:09_additional_root&amp;rev=1774286291&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://dokuwiki.grogra.de/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>GroIMP wiki</title>
        <link>https://dokuwiki.grogra.de/</link>
        <url>https://dokuwiki.grogra.de/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://dokuwiki.grogra.de/doku.php?id=01_user_documentation:06_graph:03_graphs:01_project_graph:01_main_graph&amp;rev=1763737054&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-21T14:57:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Main graph</title>
        <link>https://dokuwiki.grogra.de/doku.php?id=01_user_documentation:06_graph:03_graphs:01_project_graph:01_main_graph&amp;rev=1763737054&amp;do=diff</link>
        <description>Main graph

The main graph is the graph user will mostly interact with. It contains the RGGRoot and Axiom. By default all objects insertion, and queries are applied to element of that graph.



Its name is given by the constant: GraphManager.MAIN_GRAPH.

All children of a Node can be iterated over with:</description>
    </item>
    <item rdf:about="https://dokuwiki.grogra.de/doku.php?id=01_user_documentation:06_graph:03_graphs:01_project_graph:02_meta_graph&amp;rev=1763726761&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-21T12:06:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Meta graph</title>
        <link>https://dokuwiki.grogra.de/doku.php?id=01_user_documentation:06_graph:03_graphs:01_project_graph:02_meta_graph&amp;rev=1763726761&amp;do=diff</link>
        <description>Meta graph

The meta graph contains the instances of the RGG nodes, as well as all references nodes to resources (e.g. shaders).



Its name is given by the constant: GraphManager.META_GRAPH.

It looks like (for a project with Model.rggm parameters.rgg, and one Shader):</description>
    </item>
    <item rdf:about="https://dokuwiki.grogra.de/doku.php?id=01_user_documentation:06_graph:03_graphs:01_project_graph:03_type_graph&amp;rev=1763727226&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-21T12:13:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Type Graph</title>
        <link>https://dokuwiki.grogra.de/doku.php?id=01_user_documentation:06_graph:03_graphs:01_project_graph:03_type_graph&amp;rev=1763727226&amp;do=diff</link>
        <description>Type Graph

The Type graph is part of the multiscale extention. All nodes of the Type graph are on extent index 8 by default. It contains the TypeRoot, SRoot, and TypeAxiom. The Type graph is used by the MSGraph (a model graph adapted for multiscale rules).



Its name is given by the constant:</description>
    </item>
    <item rdf:about="https://dokuwiki.grogra.de/doku.php?id=01_user_documentation:06_graph:03_graphs:01_project_graph:09_additional_root&amp;rev=1774286291&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-23T17:18:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Additional root</title>
        <link>https://dokuwiki.grogra.de/doku.php?id=01_user_documentation:06_graph:03_graphs:01_project_graph:09_additional_root&amp;rev=1774286291&amp;do=diff</link>
        <description>Additional root

You can create any root you want :O 

This roots are untouched by the reset function of RGG.



 

// import other compiled files (.rgg, .java, .xl) without subdirectory path.
import parameters.*;

module A(float len) extends Sphere(0.1)
{
	{setShader(GREEN);}
}

module Base;

protected void init ()
[
	Axiom ==&gt; Base A(parameters.length);
]

public void run ()
[
	A(x) ==&gt; F(x) [RU(30) RH(90) A(x*0.8)] [RU(-30) RH(90) A(x*0.8)];
]

/**
* This function creates a clone of all Nodes…</description>
    </item>
</rdf:RDF>
