Synced
GraphDocumentController.AddNode
Section titled “GraphDocumentController.AddNode”
- Adds a node with a generated stable identity.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Graph
Declaration
Section titled “Declaration”public Inno.Core.Graphs.GraphNodeId Inno.Editor.Graph.GraphDocumentController.AddNode(string definitionId, Inno.Core.Graphs.GraphPosition position, System.Collections.Generic.IReadOnlyDictionary<string, Inno.Core.Graphs.GraphSerializedValue>? values = null)Parameters
Section titled “Parameters”Parameter definitionId: Stable node definition ID.
Parameter position: Initial graph-space position.
Parameter values: Optional neutral property values.
Returns
Section titled “Returns”The new stable node identity.