Skip to content

Commit 03d85e2

Browse files
authored
982382: update review concerns
1 parent b149457 commit 03d85e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

blazor/diagram/swimlane/lane/interaction.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ The following image shows children interaction in lane.
4848

4949
![Lane Children Interaction](../Swimlane-images/Child_Interaction.gif)
5050

51-
## How to restrict nodes from being dragged or repositioned outside their assigned swimlane
51+
## How to restrict nodes from being dragged outside their swimlane
5252

5353
By default, nodes in a swimlane can be moved freely within and outside the swimlane boundaries. When **NodeConstraints.AllowDragWithinSwimlane** is enabled by the nodes [Constraints](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.Node.html#Syncfusion_Blazor_Diagram_Node_Constraints) property, nodes cannot be dragged outside the swimlane. If an attempt is made to move a node beyond the swimlane’s boundaries, a “not allowed” cursor appears, indicating the restriction.
5454

55-
To enforce this restriction for all child nodes within swimlanes, set the constraint during node initialization in the [NodeCreating](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_NodeCreating) event. The constraint can also be enabled or disabled dynamically at runtime, for example, via a button click.
55+
To enforce this restriction for all child nodes within swimlanes, set the constraint during node initialization in the [NodeCreating](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_NodeCreating) event.
5656

5757
The following example demonstrates a node with the text "AllowDrag Within Swimlane" restricted to its swimlane boundaries:
5858

@@ -163,7 +163,7 @@ The following example demonstrates a node with the text "AllowDrag Within Swimla
163163
164164
```
165165

166-
The following example demonstrates enabling or disabling `AllowDragWithinSwimlane` dynamically at runtime by a button click.
166+
The following example demonstrates that a constraint can also be enabled or disabled at runtime, for example, via a button click.
167167

168168
```cshtml
169169
@using Syncfusion.Blazor.Diagram

0 commit comments

Comments
 (0)