Closed EugeneKiver closed 9 years ago
Checkout this pull request: https://github.com/splitbrain/dokuwiki-plugin-graphviz/pull/5
I implemented that support in this fork https://github.com/ascendro/dokuwiki-plugin-graphviz 3.5 years ago. Unfortunatly splitbrain only did minor commits regarding translation and comments and did not react to it.
Thank you very much Michael, I came across your posts in pull request #5 previously but I wasn't able to make use of it, again due to the lack of examples or documentation (but mainly lack of wiki knowledge).
Can you please provide the example, because Im not sure where to put -Tcmap command. So what I've done (I'll be specific in my steps to possibly save some time for other people who also new to dokuwiki and its plugins) :
<graphviz dot -Tcmap> digraph graph_name { node1 [URL=”http://www.google.com”] node1 -> node2 }
Thank you
In the dokuwiki administration -> settings -> plugin settings you need to set the path to your dot tool For example: /usr/bin/dot
If you do not know wher dot is located run "which dot"
If you do not have dot run "apt-get install graphviz" (on ubuntu systems) or google
Now in your wiki page You need to put your graphivz syntax into
For example:
===== Link Test ====
<graphviz>
digraph G {
node1 [URL="http://www.google.com"]
node1 -> node2
}
</graphviz>
Thank you! It works now.
Is there a way to get svg graphs with hyperlinks using graphviz? GraphViz plugin for mediaWiki has this functionality as well as documentation on how to enable it. I was looking for something similar for dokuwiki for several days, but haven't found anything. I'm currently getting png images, without any hyperlinks functionality.