Synced
GraphDocumentController.AddNode
Section titled “GraphDocumentController.AddNode”
- Adds a node with a generated stable identity.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Graph
Scope: Editor
Declaration
Section titled “Declaration”public InnoEngine.Graphs.GraphNodeId InnoEditor.Graph.GraphDocumentController.AddNode(string definitionId, InnoEngine.Graphs.GraphPosition position, System.Collections.Generic.IReadOnlyDictionary<string, InnoEngine.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.