Theme Graph data structure holds all the theme nodes and their connections
More...
Theme Graph data structure holds all the theme nodes and their connections
Definition at line 30 of file Graph.cs.
◆ GetNode()
GraphNode DungeonArchitect.Graphs.Graph.GetNode |
( |
string |
id | ) |
|
Gets the node by it's id
- Parameters
-
- Returns
- The retrieved node. null if node with this id doesn't exist
Definition at line 119 of file Graph.cs.
◆ GetNodes< T >()
T [] DungeonArchitect.Graphs.Graph.GetNodes< T > |
( |
| ) |
|
Get all nodes of the specified type
- Template Parameters
-
T | The type of nodes to retrieve. Should be a subclass of GraphNode |
- Returns
- List of all the nodes of the specified type
Definition at line 133 of file Graph.cs.
◆ Links
List<GraphLink> DungeonArchitect.Graphs.Graph.Links |
|
get |
List of graph links connecting the nodes
Definition at line 61 of file Graph.cs.
◆ Nodes
List<GraphNode> DungeonArchitect.Graphs.Graph.Nodes |
|
get |
List of graph nodes
Definition at line 47 of file Graph.cs.
◆ TopZIndex
The z index of the top most node
Definition at line 72 of file Graph.cs.
The documentation for this class was generated from the following file:
- C:/gamedev/unity/DA20.1X/Assets/CodeRespawn/DungeonArchitect/Scripts/Modules/Graph/Graph.cs