Is it possible to make note dynamically appear when mouse on an object and disappear when mouse leaving it.

+1 vote
asked Apr 1, 2022 in Question / help by anonymous
Some times I do not want all notes show up. I hope when I put mouse on an object for couple seconds the note for that object show up and when mouse leaving from the object, the note of it disappear.

It will save a lot of space to show real content and just show note when it is necessary.

1 Answer

+1 vote
answered Apr 3, 2022 by kirchsth (5,780 points)
edited Apr 3, 2022 by kirchsth

You could add a tooltip [without a link target]  to an object like below (and use e.g svg as output format)
Details see https://plantuml.com/link

BR Helmut

@startuml
rectangle "Component"  

rectangle "Component with tooltip" [[{more details see\nhttps://plantuml.com/link}]]

rectangle "Component with link which has more details" [[https://plantuml.com/link{please follow the link\n that you get more details} More details....]]
@enduml




 

commented Apr 3, 2022 by anonymous
Got it, thanks.  I already tried it, it is really cool !

[[{}]] or

[[[{}]]] for class member.

Thanks for this powerful tooltip feature.
...