Issues with tooltips

0 votes
asked Sep 21, 2017 in bug by come2niks (780 points)
Hello Team,

I could see following issues while using tooltips with class diagram -

@startuml
class a
class b
class c
class d
class e

a <-up- b [[tooltip]] : a upwards to b
b -up-> c [[tooltip]] : b to c upwards
d --> e [[tooltip hello]] : tooltip with space
f --> g [[tooltip,hello]] : tooltip without space
@enduml

Result :

http://www.plantuml.com/plantuml/uml/RSzH2eCm3CRnzvxYEy1wWJ66zn0VqZPE8Qx5fdZzLQa8mwS_9ByyfCjAgvP5Z1VA6TJgMdrhQ6LZ22zRaeL3tskCedCQ1Zn1A6cZDMHehFSEkth3_p6th_rfJO2jY2-4YKNYGS_9Dkk4dCYp6G_-kVZZdiUYxQBZRwZ__G00

Issues :

1. Tooltip if having space gets trim and does not show

2. Tooptip when used with -up-> does not show up

3. Tooltip without link opens a new page. Is there any way to restrict the page from navigating if there is no link in it?

1 Answer

0 votes
answered Sep 21, 2017 by come2niks (780 points)
For point 3, there is a way to achieve it -

a --> b [[#{hello}]] : hello

see : http://www.plantuml.com/plantuml/svg/Iyv9B2vMIEJYIbJGrRLJI5A8Ziv8pSd9ZurLi580ixYImJ8fG1dbQh18RMmiL0u0
...