Example of Snapping in Blazor Diagram Component
Properties
This sample shows how diagram objects snap to nearest gridline intersections or objects during drag or resize operations.
Snapping features:
- Customize snap gridline position using
SnapIntervalsproperty - Define rotation angle with
SnapAngleproperty - Customize snap line style using
SnapLineStyleproperty - Control visibility and snapping via
Constraintsproperty - Show gridlines with
ShowLinesconstraint - Snap to lines or objects with
SnapToLinesorSnapToObjectconstraints