GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutForceDirected Class / NeedsClusterLayout Method
In This Topic
    NeedsClusterLayout Method
    In This Topic
    Determines whether a clustering layout should be done before the regular force-directed layout.
    Syntax
    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.

    See Also