GoDiagram Win Reference
NeedsClusterLayout Method

Determines whether a clustering layout should be done before the regular force-directed layout.
Syntax
'Declaration
 
Protected Overridable Function NeedsClusterLayout() As Boolean
protected virtual bool NeedsClusterLayout()
Remarks

A clustering layout is useful when the graph is somewhat tree-like.

For compatibility with older behavior, this does not examine the graph structure, but only at the positions of the nodes. By default this looks at the first few nodes in the Network. If several of their Bounds intersect, this will return true; otherwise this will return false. Hence for a network whose nodes are already "spread out", no cluster layout will occur.

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

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback