GoDiagram Win Reference
PerformLayout Method (GoLayoutForceDirected)

Performs force-directed auto-layout.
Syntax
'Declaration
 
Public Overrides Sub PerformLayout() 
public override void PerformLayout()
Remarks
This method can be overridden to customize the layout algorithm, but care should be taken to ensure that each node and link in the input network are properly initialized and terminated. If Network is null, one is automatically allocated and initialized with the graph that is in the Document. After all of the computations are completed, this calls LayoutNodesAndLinks in order to commit the positions of all of the nodes. No undo/redo transaction is started or finished by this method.
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

GoLayoutForceDirected Class
GoLayoutForceDirected Members
Base Implementation in PerformLayout

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback