GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutForceDirected Class / AddComments Method
In This Topic
    AddComments Method (GoLayoutForceDirected)
    In This Topic
    Find associated objects to be positioned along with the GoLayoutForceDirectedNode.GoLayoutGenericNetwork.Node<N,L,Y>.GoObject.
    Syntax
    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.
    See Also