Gets or sets a value indicating whether the diagram items should be aligned to a grid.
Namespace: MindFusion.Diagramming
File: Diagram.js
JavaScript Copy Code |
---|
get alignToGrid() {} |
Boolean
true if the diagram items should be aligned to a grid, or false otherwise.
When the property is set to true, the sides of every newly created diagram item are aligned to the nearest grid points.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |