Search
Arrow.Weight Property
See Also
 



Gets or sets a weight value used in layout and path-finding algorithms.

 Syntax

VB6  Copy Code

Public Property Get Weight() As Single
Public Property Let Weight( _
    ByVal value As Single _
)

C++  Copy Code

public:
float get_Weight ()
void put_Weight (
    float value
)

 Property Value

A float value specifying the weight of this item. The default value is 1.

 Remarks

Currently link weights are used in the implementation of the SpringLayout class. The weight of a link connecting two nodes is multiplied by the desired NodeDistance to determine the final distance between the nodes.

 See Also