When using draw.io can i create a link that will allow a button to switch a layer on and off without actually clicking on the layers area?
In the below picture I want the user to be able to click on the "Switch on or toggle layer 1" to make the "yellow" layer 1 box appear and disappear.
The lightbox in the image can also be opened here
Best Answer
Don't know if I really understand you but as far as I know, you can create a link on the object with the text "switch on or...." with the following text:
So whenever you click on the object, the layer will toggle visibility.