Skip to content

Commit

Permalink
deploy: daed392
Browse files Browse the repository at this point in the history
  • Loading branch information
mpewsey committed Oct 17, 2024
1 parent 01fcc60 commit 43b9f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h2><a class="anchor" id="autotoc_md8"></a>
Step 3: Create a Layout Graph</h2>
<p >To provide a designed feel to generated layouts, the generator uses a room layout graph as the basis for generating layouts. The layout graph consists of nodes, representing rooms, and edges, representing door connections between rooms.</p>
<p >Each graph element can be assigned one or more room template groups (created in Step 2) from which room templates can be drawn for that location. Z (layer) values can also be assigned to elements to create a multi-level room layout.</p>
<p >In the below example, the graph shown in the image is created by adding edges to a graph. In the process, the connecting nodes are automatically created. Afterwards, the code loops over all created nodes and assigns the "Default" template group name to them.</p>
<p >In the below example, the graph shown in the image is created by adding edges to a graph. In the process, the connected nodes are automatically created. Afterwards, the code loops over all created nodes and assigns the "Default" template group name to them.</p>
<div class="fragment"><div class="line">{LayoutGraph.cs} </div>
<div class="line">var graph = new LayoutGraph(id: 1, name: &quot;ExampleGraph&quot;);</div>
<div class="line"> </div>
Expand Down

0 comments on commit 43b9f79

Please sign in to comment.