Version 40 (modified by rjollos, 4 years ago) (diff)

Added link to source in repository browser.

Graphviz Plugin


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

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 dev, then please also specify the changeset number corresponding to the version you're using.


The programs from


  1. Install
  2. Restart your web server (this example command line for Apache on Ubuntu).
    $ [sudo] /etc/init.d/apache2 restart
  3. Enable the plugin.
    • by updating your trac.ini with this:
      graphviz.* = enabled
    • or accessing your Admin panel ( ..admin/general/plugins );
  4. Configure your environment
    • by modifiying trac.ini file;
    • by accessing your Admin panel case you have WebAdminPlugin enabled;

Source and Download

You can check out GraphvizPlugin from here using Subversion, or browse the source with Trac.

Or you can 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:graphvizplugin/tags/0.11-0.7.5 download] latest stable version (0.7.5) for Trac 0.11
  • [download:graphvizplugin/tags/0.10 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:graphvizplugin/trunk download] latest unstable version for Trac 0.11 and later.
  • [download:graphvizplugin/branches/0.13 download] latest unstable version for Trac 0.13

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).


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 clickable nodes (note that nodes aren't actually clickable in this example):

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

More examples at:

Recent Changes

15729 by rjollos on 2016-08-23 03:28:12 Tag version and bump trunk to

Fixes #12846.

15697 by rjollos on 2016-08-12 06:40:59 Fix error building egg

Fixes #12842.

15694 by rjollos on 2016-08-11 00:34:21 Delete tag_svn_revision from setup.cfg

The attribute isn't supported in setuptool >= 10.



Author: pkropf
Maintainer: cboos
Contributors: cboos

Attachments (5)

Download all attachments as: .zip