Northwoods.Go.Layout Assembly > Northwoods.Go.Layout Namespace > GoLayoutForceDirected Class : ArrangeConnectedGraphs Method |
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
'Declaration Protected Overridable Sub ArrangeConnectedGraphs( _ ByVal subnets As IEnumerator(Of GoLayoutForceDirectedNetwork), _ ByVal singletons As GoLayoutForceDirectedNetwork _ )
protected virtual void ArrangeConnectedGraphs( IEnumerator<GoLayoutForceDirectedNetwork> subnets, GoLayoutForceDirectedNetwork singletons )
IEnumerator
iterating over a number of GoLayoutForceDirectedNetwork, each containing a connected graph; this is the result of calling Northwoods.Go.Layout.GoLayoutGenericNetwork`3.SplitIntoSubNetworks``1There 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.
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