Synced
GraphDocumentController.Paste
Section titled “GraphDocumentController.Paste”
- Pastes a clipboard fragment with new stable identities and a graph-space offset.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Graph
Scope: Editor
Declaration
Section titled “Declaration”public System.Collections.Generic.IReadOnlyList<InnoEngine.Graphs.GraphNodeId> InnoEditor.Graph.GraphDocumentController.Paste(InnoEditor.Graph.GraphClipboardData clipboard, InnoEngine.Graphs.GraphPosition offset, System.Action<InnoEngine.Graphs.GraphNodeRecord, System.Collections.Generic.IReadOnlyDictionary<InnoEngine.Graphs.GraphNodeId, InnoEngine.Graphs.GraphNodeId>>? remapNode = null)Parameters
Section titled “Parameters”Parameter clipboard: Detached neutral fragment.
Parameter offset: Offset added to every copied node position.
Parameter remapNode: Optional synchronous domain remapping of neutral node values after identity allocation. The callback is never stored in History.
Returns
Section titled “Returns”New node identities in clipboard document order.