GoDiagram Win Reference
GoLayoutForceDirectedNetwork Constructor(IGoCollection)

the Northwoods.Go.IGoCollection containing the Northwoods.Go.GoObjects to add to the network.
Constructs a network from a collection of GoObjects, by also calling AddNodesAndLinksFromCollection(collection, true)
Syntax
'Declaration
 
Public Function New( _
   ByVal collection As IGoCollection _
)
public GoLayoutForceDirectedNetwork( 
   IGoCollection collection
)

Parameters

collection
the Northwoods.Go.IGoCollection containing the Northwoods.Go.GoObjects to add to the network.
Remarks
If you want an automatic layout of all the objects in a collection, you'll want to do something like the following code: GoLayout... layout = new GoLayout...(); layout.Document = ...document...; layout.Network = layout.CreateNetwork(); layout.Network.AddNodesAndLinksFromCollection(...collection..., false); ...maybe set other properties... layout.PerformLayout();
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

GoLayoutForceDirectedNetwork Class
GoLayoutForceDirectedNetwork Members
Overload List

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback