GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutForceDirected Class / LayoutNodesAndLinks Method
In This Topic
    LayoutNodesAndLinks Method (GoLayoutForceDirected)
    In This Topic
    Updates the physical location of "real" nodes and links to reflect the layout.
    Syntax
    public virtual void LayoutNodesAndLinks()
    Remarks
    Although this method does not start or finish an undo manager transaction, it is compliant with undo and redo by calling Northwoods.Go.GoDocument.RaiseChanging and Northwoods.Go.GoDocument.RaiseChanged with a hint of Northwoods.Go.GoDocument.AllArranged. This also updates the Document's Northwoods.Go.GoDocument.TopLeft and Northwoods.Go.GoDocument.Size properties to account for objects that have moved and potentially increased the extent of the document.
    See Also