You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/diagram/overview.md
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -228,6 +228,38 @@ The Diagram allows users to zoom the graph in and out for better perception. The
228
228
MinZoom="0" />
229
229
````
230
230
231
+
## Pan
232
+
233
+
The Diagram content may overflow the component boundaries if there are a lot of shapes or if the user zooms in. By default, the Diagram allows users to pan the content by holding the `Ctrl` key and dragging. The following code snippet shows the relevant parameters together with their default values.
234
+
235
+
When both panning and [selection](#select) are enabled, make sure the two features use a different `Key`.
Users can select a single shape or connection with a click. The Diagram also supports multiple selection through dragging a rectangular marquee. The following code snippet shows the relevant parameters together with their default values.
248
+
249
+
Once the user selects some shapes and connections, they can drag them to another position or remove them with the `Del` key.
250
+
251
+
When both [panning](#pan) and selection are enabled, make sure the two features use a different `Key`.
The Telerik Diagram fires events that enable the app to detect and react to user interactions with the component. Find out more about the [Diagram events and event arguments](slug:diagram-events).
0 commit comments