Search
Diagram.mergeThreshold Property
See Also
 





Gets or sets the maximum distance between adjacent control points of a link at which the respective segments can be merged.

Namespace: MindFusion.Diagramming
File: Diagram.js

 Syntax

JavaScript  Copy Code

get mergeThreshold() {}
set mergeThreshold(value) {}

 Property Value

Number

A number specifying the maximum distance. The default is 0.

 Remarks

A user may add or remove links' segments interactively when the allowSplitLinks property is enabled. They can drag a link's control point over the next one in order to merge two adjacent segments. Usually the two points must be placed exactly at the same coordinates in order to merge the respective segments of the link. Assign a larger value to this property if you wish to make it easier for users to merge segments by just moving link's control point close to each other.

 See Also