Definition at line 10 of file GraphOperations.cs.
◆ BreakInputLinks()
static void DungeonArchitect.UI.Widgets.GraphEditors.GraphOperations.BreakInputLinks |
( |
GraphNode |
node, |
|
|
UIUndoSystem |
undo |
|
) |
| |
|
static |
◆ BreakOutputLinks()
static void DungeonArchitect.UI.Widgets.GraphEditors.GraphOperations.BreakOutputLinks |
( |
GraphNode |
node, |
|
|
UIUndoSystem |
undo |
|
) |
| |
|
static |
◆ CreateLink< T >()
static T DungeonArchitect.UI.Widgets.GraphEditors.GraphOperations.CreateLink< T > |
( |
Graph |
graph | ) |
|
|
static |
Creates a link of the specified type
- Template Parameters
-
T | The type of the link. Should be GraphLink or one of its subclass |
- Returns
Definition at line 185 of file GraphOperations.cs.
◆ CreateNode()
Creates a graph node of the specified type
- Parameters
-
t | The type of node to create. Should be a subclass of GraphNode |
- Returns
- The created graph node
Definition at line 29 of file GraphOperations.cs.
◆ CreateNode< T >()
Creates a new graph node of the specified type
- Template Parameters
-
T | The type of node to create. Should be a subclass of GraphNode |
- Returns
- The created graph node
Definition at line 17 of file GraphOperations.cs.
◆ DestroyLink()
static void DungeonArchitect.UI.Widgets.GraphEditors.GraphOperations.DestroyLink |
( |
GraphLink |
link, |
|
|
UIUndoSystem |
undo |
|
) |
| |
|
static |
Destroys a node and removes all references of it from the graph model. Called when the node is deleted from the editor
- Parameters
-
Definition at line 130 of file GraphOperations.cs.
◆ DestroyNode()
static void DungeonArchitect.UI.Widgets.GraphEditors.GraphOperations.DestroyNode |
( |
GraphNode |
node, |
|
|
UIUndoSystem |
undo |
|
) |
| |
|
static |
Destroys a node and removes all references of it from the graph model. Called when the node is deleted from the editor
- Parameters
-
Definition at line 83 of file GraphOperations.cs.
◆ DuplicateNode< T >()
static T DungeonArchitect.UI.Widgets.GraphEditors.GraphOperations.DuplicateNode< T > |
( |
Graph |
graph, |
|
|
T |
originalNode, |
|
|
UIUndoSystem |
undo |
|
) |
| |
|
static |
Makes a deep copy of a node. Called when a node is copy pasted
- Template Parameters
-
- Parameters
-
- Returns
Definition at line 72 of file GraphOperations.cs.
The documentation for this class was generated from the following file:
- C:/gamedev/unity/DA20.1X/Assets/CodeRespawn/DungeonArchitect/Scripts/Modules/UI/Widgets/GraphEditor/GraphOperations.cs