Calculates the weight of this Path by accumulating the Weight of all participating diagram elements.
Namespace: MindFusion.Diagramming
File: PathFinder.js
JavaScript Copy Code |
---|
function getWeight ([incNodes, [incLinks]]) |
A boolean value specifying whether the Weight of DiagramNode elements should be considered.
A boolean value specifying whether the Weight of DiagramLink elements should be considered.
A number that represents the total weight of the elements in this Path according to the incNodes and incLinks parameters.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |