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: blazor/diagram/accessibility.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
---
2
2
layout: post
3
-
title: Accessibility in Blazor Diagram Component | Syncfusion
3
+
title: Accessibility Features in Blazor Diagram Component | Syncfusion
4
4
description: Checkout and Learn all about accessibility in Syncfusion Blazor Diagram component and many more details.
5
5
platform: Blazor
6
6
control: Diagram
7
7
documentation: ug
8
8
---
9
9
10
-
# Accessibility in Blazor Diagram Component
10
+
# Accessibility Features in Blazor Diagram Component
11
11
12
12
Accessibility in the Blazor diagram component is achieved through compliance with the [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), and [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, as well as [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) and support for keyboard navigation. This ensures that users can effectively interact with the diagram features using assistive technologies such as screen readers.
13
13
@@ -37,7 +37,7 @@ The accessibility compliance for the Blazor diagram component is outlined below:
37
37
38
38
<div><imgsrc="https://cdn.syncfusion.com/content/images/documentation/not-supported.png"alt="No"> - The component does not meet the requirement.</div>
39
39
40
-
## WAI-ARIA attributes
40
+
## WAI-ARIA Attributes
41
41
42
42
The Blazor Diagram component followed the WAI-ARIA patterns to meet the accessibility. The following ARIA attributes are used in the Blazor Diagram component:
43
43
@@ -100,7 +100,7 @@ The aria-label attribute provides the text label with some default description f
100
100
</tr>
101
101
</table>
102
102
103
-
## Keyboard Navigation
103
+
## Keyboard Shortcuts and Navigations
104
104
105
105
The Blazor Diagram component followed the [keyboard interaction](https://www.w3.org/WAI/ARIA/apg/patterns/alert/#keyboardinteraction) guideline, making it easy for people who use assistive technologies (AT) and those who completely rely on keyboard navigation. The following keyboard shortcuts are supported by the Blazor Diagram component.
106
106
@@ -157,7 +157,7 @@ The Blazor Diagram component followed the [keyboard interaction](https://www.w3.
157
157
158
158
N> You can download a complete working sample for keyboard navigation from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Accessibility/KeyBoardNavigation)
159
159
160
-
## Ensuring accessibility
160
+
## How to Ensure Accessibility
161
161
162
162
The Blazor diagram component's accessibility levels are ensured through an [axe-core](https://www.nuget.org/packages/Deque.AxeCore.Playwright) with playwright tests.
Copy file name to clipboardExpand all lines: blazor/diagram/annotations/appearance.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
---
2
2
layout: post
3
-
title: Appearance in Blazor Diagram Component | Syncfusion
3
+
title: Annotation Appearance in Blazor Diagram Component | Syncfusion
4
4
description: Checkout and learn here all about Appearance in Syncfusion Blazor Diagram component and much more details.
5
5
platform: Blazor
6
6
control: Diagram Component
7
7
documentation: ug
8
8
---
9
9
10
-
# Appearance in Blazor Diagram Component
10
+
# Annotation Appearance in Blazor Diagram Component
11
11
12
-
## How to update size of an annotation
12
+
## How to Customize Annotation Size
13
13
14
14
The diagram allows you to set size for annotations by using the Height and Width properties. The default value of the [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.Annotation.html#Syncfusion_Blazor_Diagram_Annotation_Width) and [Height](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.Annotation.html#Syncfusion_Blazor_Diagram_Annotation_Height) properties is 0, and it takes the node or connector size as default. The following code example shows how the annotation size is customized.
15
15
@@ -48,7 +48,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
48
48
49
49

50
50
51
-
## How to add hyperlink to an annotation
51
+
## How to Add Hyper Link to Annotation
52
52
53
53
The diagram provides support to add a [Hyperlink](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.Annotation.html#Syncfusion_Blazor_Diagram_Annotation_Hyperlink) to the node's or connector's annotation. It can also be customized.
54
54
@@ -94,7 +94,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
94
94
95
95

96
96
97
-
### How to update hyperlink with content
97
+
### How to Display Text in Annotation Hyper Links
98
98
99
99
```cshtml
100
100
@using Syncfusion.Blazor.Diagram
@@ -139,7 +139,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
139
139
140
140

141
141
142
-
## How to change text wrapping
142
+
## How to Wrap Text Using Text Wrapping
143
143
144
144
The [TextWrapping](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.TextStyle.html#Syncfusion_Blazor_Diagram_TextStyle_TextWrapping) property of an annotation defines how the text should be wrapped. When text overflows node boundaries, you can control it by using the `TextWrapping`. So, it is wrapped into multiple lines. The following code explains how to wrap a text in a node.
145
145
@@ -190,7 +190,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
190
190
| Wrap | Text-wrapping occurs, when the text overflows beyond the available node width. ||
191
191
| WrapWithOverflow (Default) | Text-wrapping occurs, when the text overflows beyond the available node width. However, the text may overflow beyond the node width in the case of a very long word. ||
192
192
193
-
### How to update text overflow
193
+
### How to Control Text Overflow
194
194
195
195
The [TextOverflow](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.TextStyle.html#Syncfusion_Blazor_Diagram_TextStyle_TextOverflow) property specifies how the overflowed content that is not displayed should be signaled to the user. The TextOverflow property can have the following values.
196
196
@@ -256,7 +256,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
256
256
257
257
N>**Note :** All the customization over the overflow is also applicable to connector’s annotation.
258
258
259
-
## How to customize the appearance of an annotation
259
+
## How to Customize the Appearance of an Annotation
260
260
261
261
You can change the font style of the annotations with the font specific properties such as FontSize, FontFamily, and Color. The following code explains how to customize the appearance of the annotation.
262
262
@@ -316,7 +316,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
316
316
317
317

318
318
319
-
## How to update the annotation style at runtime
319
+
## How to Update Annotation Font Style at Runtime
320
320
321
321
You can change the font style of the annotations with the font specific properties such as [FontSize](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.TextStyle.html#Syncfusion_Blazor_Diagram_TextStyle_FontSize), [FontFamily](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.TextStyle.html#Syncfusion_Blazor_Diagram_TextStyle_FontFamily), and [Color](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.TextStyle.html#Syncfusion_Blazor_Diagram_TextStyle_Color). The following code explains how to update the font style of the annotation.
322
322
@@ -382,7 +382,7 @@ You can change the font style of the annotations with the font specific properti
382
382
```
383
383
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Annotations/Appearance/AnnotationStyleatRunTime)
384
384
385
-
## How to change the editing mode
385
+
## How to Edit Annotations at Runtime
386
386
387
387
The diagram provides support to edit an annotation at runtime, either programmatically or interactively. By default, the annotation is in view mode. However, it can be brought into edit mode in two ways.
388
388
@@ -393,7 +393,7 @@ The diagram provides support to edit an annotation at runtime, either programmat
393
393
394
394
Double-clicking any annotation will enable the editing and the node enables first annotation editing. When the focus of editor is lost, the annotation for the node is updated.
395
395
396
-
## How to set read only constraints for annotation
396
+
## How to Set Read Only Mode for Annotations
397
397
398
398
The diagram allows you to create read-only annotations. You have to set the read-only property of annotation to enable or disable the [ReadOnly](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.AnnotationConstraints.html#Syncfusion_Blazor_Diagram_AnnotationConstraints_ReadOnly) constraints. The following code explains how to enable read-only mode.
399
399
@@ -434,7 +434,7 @@ The diagram allows you to create read-only annotations. You have to set the read
434
434
```
435
435
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Annotations/Appearance/ReaonlyConstraints)
436
436
437
-
## How to create multiple annotations
437
+
## How to Create Multiple Annotations
438
438
439
439
You can add any number of annotations to a node or connector. The following code example shows how to add multiple annotations to a node.
440
440
@@ -522,7 +522,7 @@ N>* Type of the annotation’s property of the node or connector is ObservableCo
522
522
<br/>* All the same customization can be applicable for the annotations.
523
523
<br/>* Text Editing can be started only the first annotation of the annotation collection when you double click the node or connector.
524
524
525
-
## How to update annotation constraints
525
+
## How to Control Annotation Constraints
526
526
527
527
[AnnotationConstraints](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.AnnotationConstraints.html) are used to enable or disable certain behaviors of the annotation. Constraints are provided as flagged enumerations, so that multiple behaviors can be enabled or disabled with bitwise operators.
528
528
@@ -538,7 +538,7 @@ N> The default value is [InheritReadOnly](https://help.syncfusion.com/cr/blazor/
538
538
539
539
Refer to [Constraints](https://blazor.syncfusion.com/documentation/diagram/constraints) to learn about how to enable or disable the annotation constraints.
540
540
541
-
## Template Support for Annotation
541
+
## How to Define Templates in Annotations
542
542
The Diagram provides support for templates in annotations. You can define HTML content at the tag level and specify the use of a template using the [UseTemplate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.Annotation.html#Syncfusion_Blazor_Diagram_Annotation_UseTemplate) property. If you need to define separate templates for each annotation, you can differentiate them by using the ID property.
543
543
544
544
The following code illustrates how to define a template for a node's annotation. Similarly, you can define templates for connectors.
Copy file name to clipboardExpand all lines: blazor/diagram/annotations/connector-annotation.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
---
2
2
layout: post
3
-
title: Annotation for Connector in Blazor Diagram Component | Syncfusion
3
+
title: Connector Annotation Position in Blazor Diagram | Syncfusion
4
4
description: Checkout and learn here all about Annotation for Connector in Syncfusion Blazor Diagram component and more.
5
5
platform: Blazor
6
6
control: Diagram Component
7
7
documentation: ug
8
8
---
9
9
10
-
# How to position connector’s annotation
10
+
# Connector Annotation Position in Blazor Diagram
11
11
12
12
Annotations of a connector can be positioned using the following properties of Annotation class.
13
13
@@ -19,7 +19,7 @@ Annotations of a connector can be positioned using the following properties of A
19
19
* VerticalAlignment
20
20
* Margin
21
21
22
-
## How to update offset for annotations
22
+
## How to Update Offset Position for Annotations
23
23
24
24
The [Offset](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.PathAnnotation.html#Syncfusion_Blazor_Diagram_PathAnnotation_Offset) property of an annotation is used to align the annotations based on fractions. A value of 0 represents Top-Left corner, 1 represents Bottom-Right corner, and 0.5 represents half of Width/Height.
25
25
@@ -78,7 +78,7 @@ The following image shows the relationship between the annotation position and o
78
78
> * By default, offset value of the connector annotation is 0.5.
79
79
> * Connector annotation's Id should not start with numbers or special characters and should not contain special characters such as underscores(_) or spaces.
80
80
81
-
## How to change the alignment of an annotation
81
+
## How to Change Annotation Alignment
82
82
83
83
The connector’s annotation can be aligned over its segment path using the [Alignment](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.PathAnnotation.html#Syncfusion_Blazor_Diagram_PathAnnotation_Alignment) property of the annotation.
84
84
@@ -129,7 +129,7 @@ The following screenshot shows how the annotation of the connector aligned over
129
129
130
130
N> By default, Alignment value of the connector annotation is `Center`.
131
131
132
-
## How to change the displacement of an annotation
132
+
## How to Change Annotation Displacement
133
133
134
134
The [Displacement](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.PathAnnotation.html#Syncfusion_Blazor_Diagram_PathAnnotation_Displacement) property is used to dislocate the annotation by the value given. By default, annotation will be in centered on the connector path. When you assign a value to the Displacement property, the annotation will be displaced from its position by displacement value.
135
135
@@ -173,7 +173,7 @@ The [Displacement](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagr
173
173
```
174
174
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Annotations/AnnotationOfConnector/DisplacementOfAnnotation)
175
175
176
-
## How to update the segment angle of an annotation
176
+
## How to Update Annotation Segment Angle
177
177
178
178
The [SegmentAngle](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.PathAnnotation.html#Syncfusion_Blazor_Diagram_PathAnnotation_SegmentAngle) property is used to rotate the annotation based on the connectors segment direction. By default, the annotation will be rotated in the connector path. When you assign a value to the SegmentPath property, the annotation will be rotated from its position based on the connector segment direction.
Copy file name to clipboardExpand all lines: blazor/diagram/annotations/interactions.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
layout: post
3
-
title: Interaction in Blazor Diagram Component | Syncfusion
3
+
title: Annotation Interaction in Blazor Diagram Component | Syncfusion
4
4
description: Checkout and learn here all about Interaction in Syncfusion Blazor Diagram component and much more details.
5
5
platform: Blazor
6
6
control: Diagram Component
@@ -11,7 +11,7 @@ documentation: ug
11
11
12
12
Diagram provides the support to the annotations rotation interactively.
13
13
14
-
## Annotation Rotation
14
+
## How to Rotate Annotations
15
15
The [RotationReference](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.ShapeAnnotation.html#Syncfusion_Blazor_Diagram_ShapeAnnotation_RotationReference) property of an annotation allows you to control whether the text should rotate relative to its parent node or the Page. The following code examples illustrate how to configure RotationReference for an annotation.
Copy file name to clipboardExpand all lines: blazor/diagram/annotations/labels.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
layout: post
3
-
title: Actions of Annotation in Blazor Diagram Component | Syncfusion
3
+
title: Annotation in Blazor Diagram Component | Syncfusion
4
4
description: Checkout and learn here all about actions of annotation in Syncfusion Blazor Diagram component and more.
5
5
platform: Blazor
6
6
control: Diagram Component
@@ -11,7 +11,7 @@ documentation: ug
11
11
12
12
The [Annotation](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.Annotation.html) is a block of text that can be displayed over a node or connector and it is used to textually represent an object with a string that can be edited at run time. Multiple annotations can be added to a node or connector.
13
13
14
-
## How to create annotation
14
+
## How to Create Annotation
15
15
16
16
An annotation can be added to a node or connector by defining the annotation object and adding it to the annotation collection of the node or connector. The [Content](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.Annotation.html#Syncfusion_Blazor_Diagram_Annotation_Content) property of the annotation defines the text to be displayed.
<br/>* By default, connector’s path annotation positioned in center point of its path.
79
79
>**Note:** Do not use underscores(_) for annotation's id.
80
80
81
-
## How to add annotation at runtime
81
+
## How to Add Annotation at Runtime
82
82
83
83
You can add an annotation at runtime to the Annotations collection of the node/connector in the diagram component by using the `Add` method.
84
84
@@ -140,7 +140,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
140
140
141
141

142
142
143
-
## How to remove annotations at runtime
143
+
## How to Remove Annotation at Runtime
144
144
145
145
A collection of annotations can be removed from a node by using the `RemoveAt` method. The following code explains how to remove an annotation from a node.
146
146
@@ -202,7 +202,7 @@ Also, a collection of annotations can be removed from the node by using the `Rem
202
202
N>* You can delete multiple annotations from a node to pass the collection of annotation objects as argument.
203
203
<br/>* The `Add`, `Remove`, and `RemoveAt` methods are applicable for connectors too.
204
204
205
-
## How to update annotation at runtime
205
+
## How to Update Annotation at Runtime
206
206
207
207
You can get the annotation directly from the node’s annotations collection property and you can change any annotation properties at runtime.
0 commit comments