Search
Diagram.validityChecks Property
See Also
 






Gets or sets a value indicating whether validity checks are performed each time an item is added to the diagram.

Namespace: MindFusion.Diagramming
File: Diagram.js

 Syntax

JavaScript  Copy Code

get validityChecks() {}
set validityChecks(value) {}

 Property Value

Boolean

true to check validity when adding items, or false otherwise. The default is true.

 Remarks

If enabled, validity checks are performed each time an item is added to the diagram. That involves enumerating the items collection and can slow up the process considerably for large diagrams. You can disable this property in order to skip the validity checks, however be sure that you don't add an item twice to the diagram and that links are created only between items in the same diagram.

 See Also