GoDiagram Win Reference
LayoutNodesAndLinks Method (GoLayoutLayeredDigraph)

Updates the physical location of "real" nodes and links to reflect the layout.
Syntax
'Declaration
 
Public Overridable Sub LayoutNodesAndLinks() 
public virtual void LayoutNodesAndLinks()
Remarks
One reason to override this method would be to take advantage of added functionality of sub-classes of IGoLink, for example, a sub-class that tracked bend points and allowed them to be repositioned by the application. See also LayoutNodes and LayoutLinks. 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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoLayoutLayeredDigraph Class
GoLayoutLayeredDigraph Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback