Gets or sets a weight value used in layout and path-finding algorithms.
SyntaxVB6
Copy Code
|
|---|
Public Property Get Weight() As Single |
C++
Copy Code
|
|---|
public: |
A float value specifying the weight of this item. The default value is 1.
RemarksCurrently 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