Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions aspnetmvc/Diagram/Gridlines.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ public ActionResult Index()

![](Gridlines_images/Gridlines_img2.png)

# Snapping
## Snapping

## Snap To Lines
### Snap To Lines

This feature allows the Diagram objects to snap to the nearest intersection of gridlines while being dragged or resized. This feature enables easier alignment during layout or design.

Expand All @@ -121,7 +121,7 @@ public ActionResult Index()

To enable/disable snapping to horizontal/vertical lines, refer to [Constraints](https://help.syncfusion.com/cr/aspnetmvc/Syncfusion.JavaScript.DataVisualization.Models.Diagram.SnapSettings.html#Syncfusion_JavaScript_DataVisualization_Models_Diagram_SnapSettings_SnapConstraints "Constraints")

## Customization of Snap Intervals
### Customization of Snap Intervals

By default, the objects are snapped towards the nearest gridline. The gridline or position towards where the diagram object snaps can be customized with the property, `snapInterval`. The following code example illustrates how to customize the snap intervals.

Expand All @@ -140,7 +140,7 @@ public ActionResult Index()
}
{% endhighlight %}

## Snap To Objects
### Snap To Objects

The snap-to-object provides visual cues to assist with aligning and spacing Diagram elements. A node can be snapped with its neighboring objects based on certain alignments. Such alignments are visually represented as smart guides.

Expand Down