csharp
public static class LayoutCommandLaying a graph out automatically.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A MoveNodesCommand under a different name and with merging off: an auto-layout is one deliberate edit, and merging it into whatever drag came before it would make one undo put back both.
Methods (1)
public static MoveNodesCommand For(NodeGraphModel graph, NodeTypeRegistry? registry = null, NodeLayoutOptions options = default(NodeLayoutOptions), EditorDocument? document = null)Describes laying a graph out.
Used by (2)
- CommandTestsVixen.Editor.NodeGraph.Tests
- NodeGraphViewVixen.Editor.NodeGraph