Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Adds a node with a generated stable identity.

API: scripting
Project: Inno.Editor.Graph
Scope: Editor

public InnoEngine.Graphs.GraphNodeId InnoEditor.Graph.GraphDocumentController.AddNode(string definitionId, InnoEngine.Graphs.GraphPosition position, System.Collections.Generic.IReadOnlyDictionary<string, InnoEngine.Graphs.GraphSerializedValue>? values = null)

Parameter definitionId: Stable node definition ID.

Parameter position: Initial graph-space position.

Parameter values: Optional neutral property values.

The new stable node identity.