Table of Contents

Class GraphEditorUtils

Namespace
Gamelogic.Grids2.Graph.Editor
Assembly
Gamelogic.Grids2.Editor.dll

Contains methods for menu commands.

public static class GraphEditorUtils
Inheritance
GraphEditorUtils
Inherited Members

Methods

AddNodeToGraph<TNode, T>(Graph<TNode>)
AddNode<TNode>(Graph<TNode>, Type, Vector2, string)

Creates and adds a new unlinked node to the graph.

Clear<TNode>(Graph<TNode>)

Removes all nodes from this graph.

MakeNewGraph<TGraph>(string, string)

Brings up a save file dialog that allows the user to specify a location to save a new graph, makes a new graph, and saves it to the specified location.

MakePresetRectGrid()
RemoveNode<TNode>(Graph<TNode>, TNode)

Un-links this node from other nodes, destroys it, and removes it from the graph.

Save<TNode>(Graph<TNode>)

Save the asset database.