Skip to content

Commit 37f2ee8

Browse files
Integrated latest changes at 11-08-2024 4:31:24 PM
1 parent 674f584 commit 37f2ee8

File tree

7 files changed

+27
-0
lines changed

7 files changed

+27
-0
lines changed

ej2-react/diagram/connector-customization.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ domainurl: ##DomainURL##
1111

1212
Diagram allows you to customize the connector appearances. The following topics shows how to customize several properties of the connectors.
1313

14+
To customize the appearance, padding, and bridging of the connectors in the React Diagram component, refer to the video link below.
15+
16+
{% youtube "https://www.youtube.com/watch?v=pn02S_rwupw" %}
17+
1418
## Decorator
1519

1620
* Starting and ending points of a connector can be decorated with some customizable shapes like arrows, circles, diamond, or path. The connection end points can be decorated with the [`sourceDecorator`](https://helpej2.syncfusion.com/react/documentation/api/diagram/connector/#sourcedecorator) and [`targetDecorator`](https://helpej2.syncfusion.com/react/documentation/api/diagram/connector/#targetdecorator) properties of the connector.

ej2-react/diagram/export.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ const root = ReactDOM.createRoot(document.getElementById('diagram'));
3838
root.render(<App />);
3939

4040
```
41+
To export the React Diagram elements in various formats, refer to below video link.
42+
43+
{% youtube "https://www.youtube.com/watch?v=IkWXjhRE-o0" %}
4144

4245
## Exporting options
4346

ej2-react/diagram/nodes-customization.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ domainurl: ##DomainURL##
1010

1111
# Appearence of a nodes in React Diagram control
1212

13+
To customize the appearance and position of nodes in the React Diagram component, refer to the video link below.
14+
15+
{% youtube "https://www.youtube.com/watch?v=pn02S_rwupw" %}
16+
1317
## Common values to the node.
1418

1519
The [`getNodeDefaults`](https://ej2.syncfusion.com/react/documentation/api/diagram/#getnodedefaults) property in the EJ2 Diagram control allows you to define default settings for nodes based on specific conditions or requirements.

ej2-react/diagram/nodes-positioning.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ domainurl: ##DomainURL##
1010

1111
# Positioning a node in React Diagram control
1212

13+
To customize the position of nodes in the React Diagram component, refer to the video link below.
14+
15+
{% youtube "https://www.youtube.com/watch?v=pn02S_rwupw" %}
16+
1317
## Position
1418

1519
* Position of a node is controlled by using its [`offsetX`](https://ej2.syncfusion.com/react/documentation/api/diagram/node/#offsetx) and [`offsetY`](https://ej2.syncfusion.com/react/documentation/api/diagram/node/#offsety) properties. By default, these offset properties represent the distance between the origin of the diagram’s page and node’s center point.

ej2-react/diagram/page-settings.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ domainurl: ##DomainURL##
1212

1313
Page settings allow customization of the appearance, size, and orientation of the diagram page.
1414

15+
To customize the diagram page settings, insert page breaks, display multiple pages, and change the orientation of the canvas in the EJ2 React Diagram, refer to the video link below.
16+
17+
{% youtube "https://www.youtube.com/watch?v=pn02S_rwupw" %}
18+
1519
## Page size and appearance
1620

1721
The [`width`](https://helpej2.syncfusion.com/react/documentation/api/diagram/pageSettings/#width) and [`height`](https://helpej2.syncfusion.com/react/documentation/api/diagram/pageSettings/#height) properties in page settings determine the size of the page. Additionally, the [`background`](https://helpej2.syncfusion.com/react/documentation/api/diagram/backgroundModel/) property allows customization of the page's appearance. The [`color`](https://helpej2.syncfusion.com/react/documentation/api/diagram/backgroundModel/#color) property of background is used to define the color of the page. The [`margin`](https://helpej2.syncfusion.com/react/documentation/api/diagram/marginModel/) property defines the page margins.

ej2-react/diagram/print.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ root.render(<App />);
3535

3636
>Note: To Print diagram you need to inject `PrintAndExport` in the diagram.
3737
38+
To print the React Diagram elements in various formats, refer to the video link below.
39+
40+
{% youtube "https://www.youtube.com/watch?v=IkWXjhRE-o0" %}
41+
3842
## Print Options
3943

4044
The diagram can be customized while printing using the following properties of [`printOptions`](https://ej2.syncfusion.com/react/documentation/api/diagram/iPrintOptions/).

ej2-react/diagram/serialization.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ domainurl: ##DomainURL##
1414

1515
Serialization involves saving the diagram's state as a JSON string, which can then be stored in a database, file, or other storage medium. When needed, the serialized string can be deserialized to recreate the diagram in its previous state.
1616

17+
To easily save the contents of the diagram as a JSON string or file stream, and load it from the saved file, refer to the video link below.
18+
19+
{% youtube "https://www.youtube.com/watch?v=IkWXjhRE-o0" %}
20+
1721
## Save
1822

1923
The diagram is serialized as string while saving. The client-side method, [`saveDiagram`](https://ej2.syncfusion.com/react/documentation/api/diagram/#savediagram), helps to serialize the diagram as a string. This method captures the entire diagram's configuration and content, converting it into a string representation.

0 commit comments

Comments
 (0)