splitbrain / dokuwiki-plugin-graphviz

Create Graphviz graphs from within DokuWiki
http://www.dokuwiki.org/plugin:graphviz
12 stars 15 forks source link

Local rendering does not work #19

Closed nblock closed 6 years ago

nblock commented 6 years ago

I tried to setup version 2016-02-03 and configure it with a local dot installation. The dot program (via graphviz package) is available as /usr/bin/dot.

When I save the following page, a graph with some question marks is generated:

<graphviz dot>
digraph ATN {
  rankdir=LR;

  a -> b;
  b -> c;
}
</graphviz>

dot_1

It works as expected when the remote rendering (= empty configuration) is used.

Calling the dot binary directly from the commandline with the same input yields the expected graph.

nblock commented 6 years ago

exec() was disabled on the wiki. The plugin works when exec is available.