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: engine
Project: Inno.Editor.Graph
Declaration
Section titled “Declaration”public System.Collections.Generic.IReadOnlyList<Inno.Core.Graphs.GraphNodeId> Inno.Editor.Graph.GraphDocumentController.Paste(Inno.Editor.Graph.GraphClipboardData clipboard, Inno.Core.Graphs.GraphPosition offset, System.Action<Inno.Core.Graphs.GraphNodeRecord, System.Collections.Generic.IReadOnlyDictionary<Inno.Core.Graphs.GraphNodeId, Inno.Core.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.