Class Graph<TNode>
A class the represents a computational graph.
[Version(1, 1, 0)]
public class Graph<TNode> : Graph where TNode : BaseNode
Type Parameters
TNode
The node type for this graph.
- Inheritance
-
Graph<TNode>
- Derived
- Inherited Members
-
Object.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)Object.Instantiate<T>(T, Vector3, Quaternion)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.nameObject.hideFlags
- Extension Methods
Remarks
Each node in this graph takes some inputs, and calculates outputs, that can in turn be fed as inputs into other nodes. All nodes produce outputs as lists. When a node has multiple inputs, these are all combined into a single list for the node to operate on. The output of one node can only be connected to the input of another node if the types match.
Properties
- Nodes
Returns all the nodes in this graph.
- __IdCounter
For Editor internal routines only. Only use if you are completely sure of what you are doing.
Methods
- Recompute()
Calls recompute on all nodes in the graph.