node-red-contrib-ui-svg (v2.3.3) is a Node-RED dashboard widget node for rendering interactive SVG graphics, floorplans, and HMI visualizations. It integrates a DrawSvg editor for visual SVG creation and supports dynamic control via input messages (update colors, text, attributes, animations). Release cadence is irregular with ~6 months between minor versions. Key differentiators vs alternatives (e.g., node-red-contrib-embedded-file-browser): built-in drawing editor, extensive event/animation/binding tabsheets, message-driven SVG manipulation, and no external dependencies beyond Node-RED Dashboard 2.16.3+.
npm install node-red-contrib-ui-svgNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates sending a message to a ui-svg node to update SVG text content dynamically.
Ensure each SVG element has a unique 'id' attribute.
Upgrade node-red-dashboard to 2.16.3+ via 'npm install node-red-dashboard@latest'.
Replace 'element' with 'elementId' in payload.
Check that the SVG has an element with the specified 'elementId' and that it is spelled correctly.
Install node-red-dashboard: 'npm install node-red-dashboard' in the Node-RED user directory.
Validate SVG syntax using an external validator or ensure correct XML structure.
Use one of the supported commands: 'update_text', 'update_attribute', 'set_visibility', etc. Refer to documentation.