Version 30 (modified by cboos, 7 years ago) (diff)

rsvg support has issues in 0.7.4

Graphviz Plugin


The GraphvizPlugin allows for the inline creation of diagrams for abstract graphs and networks using the Graphviz programs.

Bugs/Feature Requests

Existing bugs and feature requests for GraphvizPlugin are here.

If you have any issues, create a new ticket. Be sure to mention which version of Trac and which version of the plugin you're using. If the version number ends with '', then please also specify the changeset number corresponding to the version you're using.


The programs from


See source:graphvizplugin/0.10/README.txt for details on installing the plugin on Trac 0.10.

See source:graphvizplugin/0.11/README.txt for details on installing the plugin on Trac 0.11.

After installing, don't forget to enable the plugin in your trac.ini, the usual way:

graphviz.* = enabled


Download the zipped source from here. Note that this contains everything regarding the Graphviz plugin including tagged releases and branches. The 0.10 directory contains the latest released version of the code for Trac 0.10 and the 0.11 directory contains the latest code for Trac 0.11.

  • download latest stable version (0.7.4) for Trac 0.11
  • download latest version for Trac 0.10

That version has some trouble with rsvg support for creating anti-aliased images. The upcoming version contains a few related fixes:

  • download latest unstable version (0.7.5dev) for Trac 0.11

If you want to have anti-aliased images, it might be a better option anyway to get/build a recent version of graphviz tools, which support producing anti-aliased images directly (through pangocairo support).


You can check out the source for GraphvizPlugin from Subversion at


digraph G {Hello->World->Graphviz->Rules}

would produce an image like:

Sample outout from the graphviz plugin, produced with graphviz-2.20.3 with pangocairo support

Note that you can insert TracLinks like this:

  digraph G {
    rankdir = "LR"
    GraphvizPlugin [ URL=GraphvizPlugin ]
    Trac [ 
    GraphvizPlugin -> Trac

This produces an image like this, but with the nodes are clickable, unlike here:

second example, this time with colour and TracLinks, also produced with graphviz-2.20.3 on Linux

Recent Changes

[13275] by rjollos on 2013-06-08 02:45:45
Refs #11155: Make tagged versions final, and bump version on trunk.
[12645] by cboos on 2013-02-21 20:14:53
GraphvizPlugin: remove obsolete toplevel Readme.txt
[12290] by cboos on 2012-11-03 12:20:54
GraphvizPlugin 1.0: use different hashes for safe/unsafe graphs.


Author: pkropf
Contributors: cboos


Attachments (4)

Download all attachments as: .zip