Enable reducing note size

0 votes
asked Mar 2 in Wanted features by Yvan (120 points)
Hello,

 

I would like to know if it's possible to add +/- button to reduce the note size in order to make the diagramme clearer?

 

Thanks!

1 Answer

0 votes
answered Mar 3 by plantuml (134,510 points)
Good idea!

We have added this feature in the GUI of the last beta :

https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

Tell us if it's what you were expecting,

Thanks
commented Mar 6 by Serge Wenger Work (5,360 points)
Hello,
I try the GUI of version 8058beta6 and I didn't see the +/- new buttons
Thanks
commented Mar 6 by plantuml (134,510 points)
Could you try on 8058beta7 ?
https://dl.dropboxusercontent.com/u/13064071/plantuml.jar
The +/- buttons should be just next to the "Zoom fit" checkbox.
Thanks!
commented Mar 6 by Serge Wenger Work (5,360 points)
OK, I found it. But the bouton didn't change the note size, but only the full diagram size.
commented Mar 6 by plantuml (134,510 points)
Yes, sorry, we did not fully understand the original request...
What is exactly "the note size" ?
commented Mar 6 by anonymous
edited Mar 6
Hello,

Ok i explain my point of view a little bit more.
The objective is to be able to fold the note up. And by note I mean the element created by plantUML when you write "note left ...end note" for exemple. This element looks like sticky notes on the diagram.

So, the best thing (if it does not complicate too much the stuff), should be to fold the whole note up by default and let a "+" and "message" icon to invite people to unfold it (or something similar). Once open, a "-" icon enable folding it up back (basic). Then we could specify parts that can be folded up in the code (like fold everything up except a title). As an example:
        note left
    A title
    ====
    *some text
    *some description
    end note
This note should enable folding the whole note up expect “A title”. Another example:
        note left
    *some text
    *some description
    end note
This note should enable folding everything up.
But it might be a bit tricky, so we can stay in a completely on/off mode where we only can fold/unfold note up entirely. Simple, efficient and adequate.
Thanks!
commented Mar 6 by anonymous
But anyway the +/- you juste added to zoom in or out the entire diagram is realy cool as well. You should keep it I think!
Thanks a lot!
...