State Diagram: On-hover / link over the entire state

0 votes
asked Sep 16, 2023 in Question / help by pillaimanish (120 points)
Problem statement: I want to show some features (or descriptions) over the state diagram, but not as description in the box. It should be shown, whenever I hover on it. One close feature I got was of HREF. But that do works on a word. That is, when I hover on a particular word, it shows the link on a small pop up type thing.

I want to implement the same thing on hovering over a state. How can I do that using href? Or is there any other way for the same?

1 Answer

0 votes
answered Sep 17, 2023 by The-Lu (65,440 points)

Hello P., and all,

For that you can use link and tool-tip, as:

state state1 [[]]
state state2 [[{this is a tooltip\nand a link to "plantuml/state"}]]
note left [[]]
a note
and a link
to """"
end note

[*]--> state1
state1 --> state2

Voir lien SVG

See doc. here (and I can add this example on):