GoXam for WPF v3
AddComments Method (ForceDirectedLayout)
Northwoods.GoXam.Layout Namespace > ForceDirectedLayout Class : AddComments Method
Find associated objects to be positioned along with the ForceDirectedVertex.Node.
Syntax
protected virtual void AddComments( 
   ForceDirectedVertex v
)

Parameters

v
Remarks
This method is called for each node in the network, when Comments is true. The standard behavior is to look for Northwoods.GoXam.Node objects whose category is "Comment" and that refer to the force-directed vertex's Node. You may want to override this method in order to customize how any associated objects are found and how a new ForceDirectedVertex and ForceDirectedEdge are added to the network to represent the balloon comment. This method sets the new node's ForceDirectedVertex.Charge to the value of DefaultCommentElectricalCharge, and sets the new link's ForceDirectedEdge.Length to the value of DefaultCommentSpringLength.
See Also

Reference

ForceDirectedLayout Class
ForceDirectedLayout Members