Generating a graph from a quite large taxonomy triggers this error:

Graphviz encountered an error while rendering to format png:
dot: width (69701 >= 32768) is too large.

It seems a bug of Graphviz
http://www.graphviz.org/bugs/b1818.html

Any way to mitigate this limitation ?

Thanks

Comments

infojunkie’s picture

Yes, you can implement hook_graphviz_render_alter to change the renderer from `dot` to something else.

function mymodule_graphviz_render_alter(&$graph, $params) {
  $graph['arguments']['command'] = 'circo';
}

Refer to graphviz_filter_render for the full signature of the hook.

s.daniel’s picture

Status: Active » Fixed

Seems like this has been answered.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.