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
JavaScript Copy Code |
---|
get validityChecks() {} |
Boolean
true to check validity when adding items, or false otherwise. The default is true.
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.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |