Search
Path.GetWeight Method
See Also
 






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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public double GetWeight (
    bool incNodes,
    bool incLinks
)

Visual Basic  Copy Code

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

 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 double value that represents the total weight of the elements in this Path according to the incNodes and incLinks parameters.

 See Also