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

Change node SVG color from diagram

Hello, for all of my nodes I have a SVG image, is there a way to change the SVG color from the NodeModel or to add a CSS class and then style it?


1 Reply

VG Vivisa Ganesan Syncfusion Team March 24, 2023 10:05 AM UTC

Hi,

Could you please confirm whether you are using SVG image node or Native node. If you are using image node, it is not possible to change the color of the node.


Documentation:

Image node- https://ej2.syncfusion.com/angular/documentation/diagram/shapes#image

Native node- https://ej2.syncfusion.com/angular/documentation/diagram/shapes#html


Regards,

Vivisa


Loader.
Up arrow icon