Hi, to me it seems normal that the SVG is in the initial state again after a deploy. And that you need to get the current status of the switches (after a deploy) and send those to the SVG node to visualize them. And of course - as long as we haven't implemented a server side DOM tree (see my sketch above) - unfortunately you also would need to update your context. Although that is how I see it, but I might be mistaken...
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| SVG node - store the current state | 13 | 1871 | 12 April 2020 | |
| no update/modification of "rotate: dur" bei Control via messages | 7 | 438 | 6 October 2020 | |
| Set atributes/styles in svg | 1 | 199 | 12 November 2022 | |
| Working with svg | 5 | 2963 | 18 January 2019 | |
| Svg file uncorrectly drawn in node red | 7 | 927 | 11 March 2021 |