Skip to content

Commit 26e5cfc

Browse files
authored
Merge pull request #2797 from syncfusion-content/EJ2-875008-featureUg
875008: featureUG
2 parents 9e89e44 + 2942dd9 commit 26e5cfc

File tree

2 files changed

+41
-7
lines changed

2 files changed

+41
-7
lines changed

ej2-asp-core-mvc/diagram/bpmn-shapes.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -527,21 +527,21 @@ Artifact is used to show additional information about a process in order to make
527527

528528
## Text annotation
529529

530-
* A BPMN object can be associated with a text annotation which does not affect the flow but gives details about objects within a flow. The annotation property of the node is used to connect an annotation element to the BPMN node.
530+
* A BPMN object can be associated with a text annotation which does not affect the flow but gives details about objects within a flow.
531531

532-
* The annotation element can be displaced into a different position interactively by dragging the annotation to a particular position.
532+
* A TextAnnotation points to or references another BPMN shape, which we call the `textAnnotationTarget` of the textAnnotation. When a target shape is moved or deleted, any TextAnnotations attached to the shape will be moved or deleted too. Thus, the TextAnnotations remain with their target shapes though you can reposition the TextAnnotation to any offset from its target. The `textAnnotationTarget` property of the BpmnTextAnnotation is used to connect an annotation element to the BPMN Node.
533533

534534
* The annotation element can be switched from a BPMN node to another BPMN node simply by dragging the source end of the annotation connector into the other BPMN node.
535535

536-
* The annotation angle property is used to set the angle between the BPMN shape and the annotation.
536+
* By default, the TextAnnotation shape has a connection.
537537

538-
* The annotation direction property is used to set the direction of the text annotation.
538+
* The `textAnnotationDirection` property is used to set the shape direction of the text annotation.
539539

540-
* To set the size for text annotation, use width and height properties.
540+
* By default, the `textAnnotationDirection` is set to a Auto.
541541

542-
* The annotation length property is used to set the distance between the BPMN shape and the annotation.
542+
* To set the size for text annotation, use the `width` and `height` properties of the node.
543543

544-
* The annotation text property defines the additional information about the flow object in a BPMN process.
544+
* The `offsetX` and `offsetY` properties are used to set the distance between the BPMN node and the TextAnnotation.
545545

546546
{% if page.publishingplatform == "aspnet-core" %}
547547

ej2-asp-core-mvc/diagram/interaction/keyboard.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,40 @@ The following table illustrates those commands with the associated key values.
3030
| Ctrl + MouseWheel | zoom | Zoom (Zoom in/Zoom out the diagram).|
3131
| F2 | `startLabelEditing` | Starts to edit the label of the selected element.|
3232
| Esc | `endLabelEditing` | Sets the label mode as view and stops editing.|
33+
| Tab | Tab to Focus | Select the diagram element based on the rendering order when using the "Tab" key.|
34+
| Shift + Tab | Go to Previous Object | This command is employed to shift the selection to the preceding object based on the z-order.|
35+
| Control + B | Bold | Toggle bold formatting for the selected text.|
36+
| Control + I | Italic | Toggle italic formatting for the selected text.|
37+
| Control + U | Underline | Toggle underline formatting for the selected text.|
38+
| Control + D | Duplicate | Duplicate a selected shape.|
39+
| Control + G | Group | Group together multiple selected shapes, allowing them to be treated as a single shape.|
40+
| Control + Shift + U | UnGroup | Ungroup shapes within a previously grouped selection.|
41+
| Control + R | Rotate clockwise | Rotate the selected nodes in clockwise.|
42+
| Control + L | Rotate anti-clockwise | Rotate the selected nodes in counterclockwise.|
43+
| Control + H | Flip Horizontal | Flip the selected elements horizontally.|
44+
| Control + J | Flip Vertical | Flip the selected elements vertically.|
45+
| Control + 1 | Pointer tool | Activate the pointer tool.|
46+
| Control + 2 | Text tool | Activate the text tool.|
47+
| Control + 3 | Connector tool | Activate the connector tool.|
48+
| Control + 5 | Freeform tool | Activate the freeform tool.|
49+
| Control + 6 | Line tool | Activate the polyline tool.|
50+
| Control + + | Zoom In | Zoom in the diagram.|
51+
| Control + - | Zoom Out | Zoom out the diagram.|
52+
| Shift + Up Arrow | Up | Moves the selected elements towards up by 5 pixel.|
53+
| Shift + Down Arrow | Down | Moves the selected elements towards down by 5 pixel.|
54+
| Shift + Left Arrow | Left | Moves the selected elements towards left by 5 pixel.|
55+
| Shift + Right Arrow | Right | Moves the selected elements towards right by 5 pixel.|
56+
| Control + Shift + L | Align Text Left | Align the selected text to the left.|
57+
| Control + Shift + C | Center Text Horizontally | Center the selected text horizontally.|
58+
| Control + Shift + R | Align Text Right | Align the selected text to the right.|
59+
| Control + Shift + J | Justify Text Horizontally | Justify the selected text, aligning it to both the left and right margins.|
60+
| Control + Shift + E | Top-align Text Vertically | Align the selected text to the top vertically.|
61+
| Control + Shift + M | Center Text Vertically | Center the selected text vertically.|
62+
| Control + Shift + V | Bottom-align Text Vertically | Align the selected text to the bottom vertically.|
63+
| Control + Shift + B | Send To Back | Send the selected shape backward in the stacking order, making it appear behind other shapes.|
64+
| Control + Shift + F | Bring To Front | Bring the selected shape forward in the stacking order, making it appear in front of other shapes.|
65+
| Control + [ | Send Backward | Move the selected shape one step backward in the layer order.|
66+
| Control + ] | Bring Forward | Move the selected shape one step forward in the layer order.|
3367

3468
## See Also
3569

0 commit comments

Comments
 (0)