GoDiagram Win Reference
ArrangeConnectedGraphs Method

an IEnumerator iterating over a number of GoLayoutForceDirectedNetwork, each containing a connected graph; this is the result of calling Northwoods.Go.Layout.GoLayoutGenericNetwork`3.SplitIntoSubNetworks``1
a GoLayoutForceDirectedNetwork containing only unconnected individual nodes
During a clustered layout, position each separate graph network so that they do not overlap each other.
Syntax
'Declaration
 
Protected Overridable Sub ArrangeConnectedGraphs( _
   ByVal subnets As IEnumerator(Of GoLayoutForceDirectedNetwork), _
   ByVal singletons As GoLayoutForceDirectedNetwork _
) 
protected virtual void ArrangeConnectedGraphs( 
   IEnumerator<GoLayoutForceDirectedNetwork> subnets,
   GoLayoutForceDirectedNetwork singletons
)

Parameters

subnets
an IEnumerator iterating over a number of GoLayoutForceDirectedNetwork, each containing a connected graph; this is the result of calling Northwoods.Go.Layout.GoLayoutGenericNetwork`3.SplitIntoSubNetworks``1
singletons
a GoLayoutForceDirectedNetwork containing only unconnected individual nodes
Remarks

There may be separate component graphs (without any links between them) within the original network. The subnets enumerator will iterate over a number of GoLayoutForceDirectedNetworks, each containing a connected (sub)graph. If the original network is connected, i.e. if there is at least one path of undirected links from each node in the original Network to every other node, then there will be only a single GoLayoutForceDirectedNetwork for the enumerator, and the singletons network will be empty.

This method places each separately-laid-out graph in different non-overlapping locations. By default this ignores IsFixed, because it may move "fixed" nodes to ensure disconnected subgraphs do not overlap.

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