Skip to content

Commit 4e4a87f

Browse files
Merge pull request #3103 from syncfusion-content/EJ2-882373-AddElementHF
Provide support to add diagram nodes or connectors collection dynamically through API method
2 parents 51b7eb1 + 40ca1a7 commit 4e4a87f

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

ej2-asp-core-mvc/diagram/connectors.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ diagram.remove(connectors)
102102

103103
## Add collection of connectors at runtime
104104

105-
* The collection of connectors can be dynamically added using 'addElements' method.Each time an element is added to the diagram canvas, the 'collectionChange' event will be triggered.
105+
* The collection of connectors can be dynamically added using `addElements` method.Each time an element is added to the diagram canvas, the `collectionChange` event will be triggered.
106+
107+
{% if page.publishingplatform == "aspnet-core" %}
106108

107109
{% tabs %}
108110
{% highlight cshtml tabtitle="CSHTML" %}

ej2-asp-core-mvc/diagram/group.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ diagram.add(group);
126126

127127
## Add collection of group nodes at runtime
128128

129-
* The collection of group nodes can be dynamically added using 'addElements' method.Each time an element is added to the diagram canvas, the 'collectionChange' event will be triggered.
129+
* The collection of group nodes can be dynamically added using `addElements` method.Each time an element is added to the diagram canvas, the `collectionChange` event will be triggered.
130130

131131
{% if page.publishingplatform == "aspnet-core" %}
132132

ej2-asp-core-mvc/diagram/nodes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ diagram.add(node);
8282

8383
## Add collection of nodes at runtime
8484

85-
* The collection of nodes can be dynamically added using 'addElements' method.Each time an element is added to the diagram canvas, the 'collectionChange' event will be triggered.
85+
* The collection of nodes can be dynamically added using `addElements` method.Each time an element is added to the diagram canvas, the `collectionChange` event will be triggered.
8686

8787
{% if page.publishingplatform == "aspnet-core" %}
8888

0 commit comments

Comments
 (0)