void DeleteNode( NodeUI node )

book_4_sparkGenerated
code_blocksInput

Description

The DeleteNode method is a public instance method of the GraphView class within the Editor.NodeEditor namespace. This method is used to remove a specified node from the graph view.

Usage

To use the DeleteNode method, you need to have an instance of GraphView and a reference to the NodeUI object that you wish to delete. Call the method with the node as the parameter.

Example

// Assuming 'graphView' is an instance of GraphView and 'nodeToDelete' is a NodeUI object

// Delete the specified node from the graph view
graphView.DeleteNode(nodeToDelete);