Draw.io allow to add actions button to toggle shapes or layer (or other actions https://drawio-app.com/blog/interactive-diagrams-with-custom-links-and-actions/)
But only link seems work, it would be great if toggle layer or change sheet works after rendering.
Actually it only works in editor mode.