GoDiagram Win Reference
AddComments Method (GoLayoutForceDirected)

Find associated objects to be positioned along with the GoLayoutForceDirectedNode.GoLayoutGenericNetwork.Node<N,L,Y>.GoObject.
Syntax
'Declaration
 
Protected Overridable Sub AddComments( _
   ByVal n As GoLayoutForceDirectedNode _
) 
protected virtual void AddComments( 
   GoLayoutForceDirectedNode n
)

Parameters

n
Remarks
This method is called for each node in the network, when Comments is true. The standard behavior is to look for Northwoods.Go.GoBalloon objects that refer to the force-directed node's GoLayoutGenericNetwork.Node<N,L,Y>.GoObject. You may want to override this method in order to customize how any associated objects are found and how a new GoLayoutForceDirectedNode and GoLayoutForceDirectedLink are added to the network to represent the balloon comment. This method sets the new node's GoLayoutForceDirectedNode.Charge to the value of DefaultCommentElectricalCharge, and sets the new link's GoLayoutForceDirectedLink.Length to the value of DefaultCommentSpringLength.
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