Search
Path.GetWeight Method
See Also
 





Calculates the weight of this Path by accumulating the Weight of all participating Diagram elements.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public float GetWeight (
    bool incNodes,
    bool incLinks
)

Visual Basic  Copy Code

Public Function GetWeight( _
    incNodes As Boolean, _
    incLinks As Boolean _
) As Single

 Parameters

incNodes

A boolean value, which specifies whether the Weight of DiagramNode elements should be considered.

incLinks

A boolean value, which specifies whether the Weight of DiagramLink elements should be considered.

 Return Value

A float value that represents the total weight of the elements in this Path according to the incNodes and incLinks parameters.

 See Also