Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

In the documentation of Mathematica it is mentioned that you can use Hyperlink and Tooltip as wrapper in a similar manner as Style. However, the following example does not seem to work: vertices 1 and 2 are highlighted in Red but there is neither hyperlink access nor tip.

HighlightGraph[Graph[{1 -> 2, 2 -> 3}], {Tooltip[1, "TEST IT!"], 
                 Hyperlink[2, "http://stackexchange.com/"]}]

Did I miss something ?

share|improve this question
I have to evaluate the Output to make it work: see here. Windows7 V9.01. –  Öskå Apr 17 at 15:03
Thank you. However in your demo, you have validated the output of the code line to enable the hyperlink, and effectively it works. I don't understand why two validations are required ? –  Gurwho Apr 17 at 18:06
More comments should come with more feedback :) –  Öskå Apr 17 at 18:53
Same issue with Graph[{Property[1, Tooltip -> "Test"], Property[2, Hyperlink -> "http://stackexchange.com/"]}, {1 \[DirectedEdge] 2, 2 \[DirectedEdge] 3}] using V9.0.1 on Windows 7. –  kguler Apr 17 at 19:12
I'm prepared to call this a bug. BTW It is an interesting exercise to open up the original graph output and Öskå's version (the evaluated graph) using ctrl-shift-E and look for the differences. –  Sjoerd C. de Vries Apr 17 at 19:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.