So the pan and zoom functionality should be controllable via input messages. Then users can show their own dashboard buttons to send zoom input messages.
Apart from that, perhaps we could get the out-of-the-box elements (via getElementById) and customize their appearance a bit. E.g. to match the theme colors of the dashboard, identical to our node-red-contrib-ui-contextmenu node ...
Currently the zoom buttons are out-of-the-box as delivered by the svg-pan-zoom library:
However it would be nice to have our own buttons, like in their demo. From their demo source code you see that they implement it like this:
So the pan and zoom functionality should be controllable via input messages. Then users can show their own dashboard buttons to send zoom input messages.
Apart from that, perhaps we could get the out-of-the-box elements (via getElementById) and customize their appearance a bit. E.g. to match the theme colors of the dashboard, identical to our node-red-contrib-ui-contextmenu node ...