Adding pop-up windows on word hover

0 votes
asked Mar 2, 2017 in Wanted features by anonymous

I have a similar whish. Could we add a pop un windows with some explanation on word or object hover? For example, I have a class name or a parameter name. I would like to tell a bit more about it but, in order to not mess with my UML diagramme, it should be displayed only when the pointer of the mouse is above this name (on a new window, above the main picture, next to the name).
It is possible to do that on pdf documents:

I suppose it is also possible with .svg files... but i'm not sure how it works.

Thanks a lot for your work! Great tool already!

1 Answer

+1 vote
answered Mar 2, 2017 by plantuml (293,520 points)

There is something close to what you are looking for, but that we should probably improve.

Today, you can use hyperlinks. For example:

class foo {
You should visit [[]] for information
You should visit [[ our web site]] for information
You should visit [[{This is a tip} our web site]] for information

(Note that we have a bug here : link cannot be at the beginning or at the end of a line)

By chance, this is working with zero length url, so you can have:

class foo {
Some [[{This is a tip on the field} field]] of the class

This is quite limited right now, but you are looking for something like that, we can improve it.


commented Jun 26, 2019 by Preetika Tandon
Are you guys planning to have this pop up window when hovered over a word in plantuml?