We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Add multiple e-connectors using *ngFor in component.html of angular

Thread ID:





145820 Jul 9,2019 02:46 PM UTC Jul 10,2019 11:43 AM UTC Angular - EJ 2 1
Tags: Diagram
Siddharth Kulat
Asked On July 9, 2019 02:46 PM UTC


I want to add some multiple "e-connector" in the ejs-diagram. We want to achieve by using *ngFor like below,

<e-connectors *ngFor="let coordinates of finalCordinates">
<e-connector [sourcePoint]='{"x":coordinates.sourcePointx,"y":coordinates.sourcePointy}'
     [style]='{ "strokeWidth": 3,"strokeColor": "#fff","fill": "transparent","strokeDashArray": "","opacity": 1,"gradient": {"type": "None"}}'
     [segments]='segments4' [targetDecorator]='decorator'>

Currently we are not getting anything? Can you please suggest me what should I do?

Thank You.

Ramya Thirugnanam [Syncfusion]
Replied On July 10, 2019 11:43 AM UTC

Hi Siddharth, 
Thanks for contacting Syncfusion support.  
We have created a sample by modifying your code example to achieve your requirement.  
Code example:  
<="" span="">                                                                        [targetPoint]='{"x":coordinates.targetPointx,"y":coordinates.targetPointy}'>  
Ramya T


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon