GetNodes()
Retrieves all nodes in the graph.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public IEnumerable<INode> GetNodes()
Returns
Type | Description |
|---|---|
| IEnumerable<INode> | An |
Remarks
Use this method to access every node in the graph. Nodes are returned in the order they were created.
The list includes:
-
Your own Nodes
It excludes BlockNodes, which are only accessible through their parent ContextNode.