How to customize connectors

Hello,

I try to change the color of connectors when selecting a node.

Have anyone an idea ?

Thanks

3 Replies 1 reply marked as answer

KR Karkuvel Rajan Shanmugavel Syncfusion Team April 23, 2021 05:04 AM UTC

Hi Jerome, 
 
Thanks for contacting Syncfusion support. 
 
Requirement: Need to change the Connector color while selecting the Node. 
 
We can achieve your requirement through ItemSelected event in our SfDiagram. We have prepared a simple sample for your requirement. Please find the sample link below. In the sample, we have changed the color of the incoming connector of each node through ItemSelected event and when we unselect the item the change the color of the connector to its default in the ItemUnselected event. 
 
 
For more example like this please follow our FlowExecution sample. Please find the link for DiagramDemos à FlowExecution sample below. 
 
 
Regards, 
Karkuvel Rajan S 


Marked as answer

GJ GALOPIN Jérôme April 23, 2021 08:05 AM UTC

Nice, works perfectly !
Thank you for your help


KR Karkuvel Rajan Shanmugavel Syncfusion Team April 26, 2021 10:56 AM UTC

Hi Jerome, 
 
Most welcome, let us know if you need any further assistance. 
 
Regards, 
Karkuvel Rajan S 


Loader.
Up arrow icon