I want to make an injection node that modifys the inner html/SVG code within my node-red-contrib-ui-svg element to add an extra shape to my SVG drawing when triggered
Can any one provide me with an example code to programatically add a shape (e.g. a rectangle) to the SVG dashboard (within the node-red-contrib-ui-svg) I think it cab be done by using the "set_attribute" (this will add the attribute if it does not already exist).... but I am not sure on the required coding??
I think this is acheivable, but I can't figure out the method?