Hyperlinks not working using PlantUML macro in Confluence in graphviz/dot mode

0 votes
asked Feb 22, 2018 in Closed bug by Nicolas Beney

Hi all,

I am trying to create a simple Graphviz/dot diagram with hyperlinks using the PlantUML macro in Confluence. For example something like this:

    {plantuml:dot}
    digraph g {
        A [URL="http://www.google.com"]
        A -> B
    }
    {plantuml}

This gets rendered correctly but there is no hyperlink for node A.

I am using Confluence version 6.3.2 (hosted on site) and

    {plantuml}
    version
    {plantuml}

reports:

    PlantUML version 1.20.18.01 (Sun Jan 28 18:08:22 GMT 2018)
    The environment variable GRAPHVIZ_DOT has not been set.
    Dot executable is c:\Program Files (x86)\Graphviz2.38\bin\dot.exe
    Dot version: dot - graphviz version 2.38.0 (20140413.2041)
    Installation seems OK. File generation OK

Thank you for your attention.

Nicolas Beney

1 Answer

0 votes
answered Mar 14, 2018 by anonymous
I found the answer to my questions. The solution was to use Image Format = SVG instead of the default PNG. It works like a charm now.
commented May 29, 2020 by anonymous

Thank you for posting this. One small tips that every guide out there is missing out. I have struggled with it for 2 weeks as well.laugh

commented Mar 22, 2022 by Alex
Hello!

Could you please answer with example?
...