Synced
GraphCanvasLayout.SetNodes
Section titled “GraphCanvasLayout.SetNodes”
- Atomically replaces a complete display snapshot, reusing unchanged node geometry by value.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Graph.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public int InnoEditor.Graph.GraphCanvasLayout.SetNodes(System.Collections.Generic.IEnumerable<InnoEditor.Graph.GraphCanvasNode> nodes)Parameters
Section titled “Parameters”Parameter nodes: The current neutral node descriptions in draw order.
Returns
Section titled “Returns”The number of inserted, changed or removed nodes. Ordering changes do not rebuild geometry.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: The collection or one of its nodes is null.
Exception T:System.ArgumentException: A node identity occurs more than once; the previous snapshot remains active.