Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Toggle layers #86

Closed
AThomsen opened this issue Jan 29, 2021 · 2 comments
Closed

Request: Toggle layers #86

AThomsen opened this issue Jan 29, 2021 · 2 comments

Comments

@AThomsen
Copy link
Contributor

It would be nice if layers could be toggled the same way it is possible when draw.io drawings are exported as html.

@mikitex70
Copy link
Owner

Hi @AThomsen, in the develop branch there is a new preliminary version of the plugin.
It is somewhat a breaking change, in the sense that the drawio macro does nothing: the code is merged in the drawio_attach macro.
The drawio_attach and drawio_dmsf macros have now full support to diagrams in XML format; using the editor toolbar buttons is the easiest way to write/edit the macro code. In your case in the layers field set a list of comma separated number of layers (0 based) you wish to show initially; then a layer selector will appear when the mouse is over the diagram.
I need to do some more testing, but it seems to work fine.

@mikitex70
Copy link
Owner

Released in the v1.0.0 version of the plugin.
Thanks for your enhancement suggestion.

redmine_drawio automation moved this from To Do to Done Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants